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>
Junio C Hamano committed
Sep 29, 2007 at 20:45 UTC
1f088191015968436e7cc6423827b0c26f3427ea
1 file changed
+1
-5
git-am.sh
+1
-5
@@ -394,9 +394,7 @@ do
394
stop_here $this
395
fi
396
397
- echo
397
printf 'Applying %s\n' "$SUBJECT"
399
- echo
398
399
case "$resolved" in
400
'')
@@ -452,12 +450,10 @@ do
450
fi
451
452
tree=$(git write-tree) &&
455
- echo Wrote tree $tree &&
453
parent=$(git rev-parse --verify HEAD) &&
454
commit=$(git commit-tree $tree -p $parent <"$dotest/final-commit") &&
458
- echo Committed: $commit &&
455
git update-ref -m "$GIT_REFLOG_ACTION: $SUBJECT" HEAD $commit $parent ||
460
- stop_here $this
456
+ stop_here $thisy
457
458
if test -x "$GIT_DIR"/hooks/post-applypatch
459
then