diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-11 18:55:43 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-11 18:55:43 -0800 |
commit | 1536dd9c61b5582cf079999057cb715dd6dc6620 (patch) | |
tree | 29b1ba52a130a7da952ce161b7136003f9077527 /git-am.sh | |
parent | 7bbdeaa969794edd67cd4a1ed09b9a057b6af4c3 (diff) | |
download | git-1536dd9c61b5582cf079999057cb715dd6dc6620.tar.gz |
Only call git-rerere if $GIT_DIR/rr-cache exists.
Johannes noticed that git-rerere depends on Digest.pm, and if
one does not use the command, one can live without it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -88,7 +88,10 @@ fall_back_3way () { # saying that we reverted all those changes. git-merge-resolve $orig_tree -- HEAD $his_tree || { - git-rerere + if test -d "$GIT_DIR/rr-cache" + then + git-rerere + fi echo Failed to merge in the changes. exit 1 } |