am, rebase: teach quiet option
commit0e987a12fc1d481d81ad9c56f4714efb08667213
authorStephen Boyd <bebarino@gmail.com>
Tue, 16 Jun 2009 22:33:01 +0000 (16 15:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jun 2009 18:54:48 +0000 (18 11:54 -0700)
tree3558298ec717c32ddac1204e6c9f751ab0da4d38
parent2e6a30ef8fbaedc5f2ee199d36f7256bb0cfdf1e
am, rebase: teach quiet option

git-am and git-rebase are talkative scripts. Teach them to be quiet when
told, allowing them to speak only when they fail or experience errors.

The quiet option is maintained when git-am or git-rebase fails to apply
a patch. This means subsequent --resolved, --continue, --skip, --abort
invocations will be quiet if the original invocation was quiet.

Drop a handful of >&2 redirection; the rest of the program sends all the
info messages to stdout, not to stderr.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt
Documentation/git-rebase.txt
git-am.sh
git-rebase.sh
t/t3400-rebase.sh
t/t4150-am.sh