Skip to content

teach am and rebase -q/--quiet

Stephen Boyd git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2am: teach quiet optionDocumentation/git-am.txt git-am.sh t/t4150-am.sh+34 -60 replies
2/2rebase: teach quiet optionDocumentation/git-rebase.txt git-rebase.sh t/t3400-rebase.sh+49 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] teach am and rebase -q/--quiet

am and rebase are talkative scripts. Teach them to be less verbose. This is useful for script writers incorporating rebase or am into their scripts.

I am not sure why "current branch $branch is up to date" and "Fast-forwarded $branch to $onto" is echoed to stderr, but I've wrapped those in a quiet check because it doesn't seem to be an error. Maybe those should be changed to stdout?

Stephen Boyd (2):
am: teach quiet option
rebase: teach quiet option

 Documentation/git-am.txt     |    6 ++++-
 Documentation/git-rebase.txt |    4 +++
 git-am.sh                    |   27 ++++++++++++++++++----
 git-rebase.sh                |   49 ++++++++++++++++++++++++++++++++---------
 t/t3400-rebase.sh            |    7 ++++++
 t/t4150-am.sh                |    7 ++++++
 6 files changed, 83 insertions(+), 17 deletions(-)