git-commit: cd to top before showing the final stat
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
		| @ -621,6 +621,9 @@ else | |||||||
| fi | fi | ||||||
| ret="$?" | ret="$?" | ||||||
| rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG" | rm -f "$GIT_DIR/COMMIT_MSG" "$GIT_DIR/COMMIT_EDITMSG" "$GIT_DIR/SQUASH_MSG" | ||||||
|  |  | ||||||
|  | cd_to_toplevel | ||||||
|  |  | ||||||
| if test -d "$GIT_DIR/rr-cache" | if test -d "$GIT_DIR/rr-cache" | ||||||
| then | then | ||||||
| 	git-rerere | 	git-rerere | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Junio C Hamano
					Junio C Hamano