summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-29 20:45:33 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-29 20:45:33 -0700
commit1f088191015968436e7cc6423827b0c26f3427ea (patch)
tree3b5b93ceb919ad8979e4e902d275ccb35a4153f4 /git-am.sh
parent2a858ee95134926a0ccccb9a78db06bcb0bd65d0 (diff)
downloadgit-1f088191015968436e7cc6423827b0c26f3427ea.tar.gz
git-am: make the output quieter.
We used to say "Applying <patch subject>", "Wrote <tree object>", and "Committed <commit object>". Worse yet, with extra blank lines around them. Make the output more concise. The object names are not so useful nor interesting. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/git-am.sh b/git-am.sh
index 32c46d7ed4..77a0e20996 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -394,9 +394,7 @@ do
stop_here $this
fi
- echo
printf 'Applying %s\n' "$SUBJECT"
- echo
case "$resolved" in
'')
@@ -452,12 +450,10 @@ do
fi
tree=$(git write-tree) &&
- echo Wrote tree $tree &&
parent=$(git rev-parse --verify HEAD) &&
commit=$(git commit-tree $tree -p $parent <"$dotest/final-commit") &&
- echo Committed: $commit &&
git update-ref -m "$GIT_REFLOG_ACTION: $SUBJECT" HEAD $commit $parent ||
- stop_here $this
+ stop_here $thisy
if test -x "$GIT_DIR"/hooks/post-applypatch
then