[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: Make cvs commit honor -q/-Q
From: |
M . E . O'Neill |
Subject: |
Patch: Make cvs commit honor -q/-Q |
Date: |
Wed, 25 Feb 2004 15:31:31 -0800 |
cvs commit/checkin doesn't honor -q or -Q, and is extraordinarily
chatty, which can be annoying in scripts that run cvs commit (with the
-m option for the log message).
This goes against the documentation, which reads:
-Q Causes the command to be really quiet; the command will
generate output only for serious problems.
-q Causes the command to be somewhat quiet; informational
messages, such as reports of recursion through sub-
directories, are suppressed.
Redirecting stdout and stderr to /dev/null can serve as a bandaid, but
that throws out legitimate errors too.
Enclosed is my patch to make it honor -q/-Q. With -q, it now prints:
Checking in foo.txt
Checking in bar.txt
and with -Q it prints nothing if there are no errors.
M.E.O.
Enc.
cvs-1.12.5-quiet.patch
Description: Binary data
- Patch: Make cvs commit honor -q/-Q,
M . E . O'Neill <=