diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-18 18:13:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-18 18:13:01 -0800 |
commit | 4a88fb7ffc32bdfdfab2605430514d92aba25b8a (patch) | |
tree | 77d37de207313b760eb08c502be1ea98a18351e9 /git-rebase.sh | |
parent | Merge branch 'pc/uninteresting-submodule-disappear-upon-switch-branches' (diff) | |
parent | Teach --[no-]rerere-autoupdate option to merge, revert and friends (diff) | |
download | tgif-4a88fb7ffc32bdfdfab2605430514d92aba25b8a.tar.xz |
Merge branch 'jc/rerere'
* jc/rerere:
Teach --[no-]rerere-autoupdate option to merge, revert and friends
Diffstat (limited to 'git-rebase.sh')
-rwxr-xr-x | git-rebase.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git-rebase.sh b/git-rebase.sh index 3de0942c0f..eddc02875f 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -52,6 +52,7 @@ diffstat=$(git config --bool rebase.stat) git_am_opt= rebase_root= force_rebase= +allow_rerere_autoupdate= continue_merge () { test -n "$prev_head" || die "prev_head must be defined" @@ -120,7 +121,7 @@ call_merge () { return ;; 1) - git rerere + git rerere $allow_rerere_autoupdate die "$RESOLVEMSG" ;; 2) @@ -351,6 +352,9 @@ do -f|--f|--fo|--for|--forc|force|--force-r|--force-re|--force-reb|--force-reba|--force-rebas|--force-rebase) force_rebase=t ;; + --rerere-autoupdate|--no-rerere-autoupdate) + allow_rerere_autoupdate="$1" + ;; -*) usage ;; |