mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
e7e2de99ba
pre-commit was noisy: every sub-target dumped full stdout/stderr to the terminal, burying failures in pages of compiler output and lint details. Teach timed-shell.sh a quiet mode via MAKE_LOGDIR: when set, recipe output is redirected to per-target log files and a one-line status is printed instead. When unset, behavior is unchanged (with a refreshed output format). Makefile changes: - pre-commit creates a tmpdir, passes MAKE_LOGDIR to sub-makes - Drop --output-sync=target (log files eliminate interleaving) - Add --no-print-directory to suppress Entering/Leaving noise - Split check-unstaged and check-untracked into separate defines - Restyle both with colored indicators and clearer instructions - Clean up tmpdir on success, preserve on failure for debugging