Skip to content

Commit

Permalink
git-am: make the output quieter.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Sep 30, 2007
1 parent 2a858ee commit 1f08819
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions git-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,7 @@ do
stop_here $this
fi

echo
printf 'Applying %s\n' "$SUBJECT"
echo

case "$resolved" in
'')
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f08819

Please sign in to comment.