Skip to content

Commit

Permalink
git-commit: cd to top before showing the final stat
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Mar 6, 2007
1 parent b810537 commit c93d88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@ else
fi
ret="$?"
rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG"

cd_to_toplevel

if test -d "$GIT_DIR/rr-cache"
then
git-rerere
Expand Down

0 comments on commit c93d88a

Please sign in to comment.