Merge branch 'jc/rerere'

* jc/rerere:
  Teach --[no-]rerere-autoupdate option to merge, revert and friends
This commit is contained in:
Junio C Hamano
2010-01-18 18:13:01 -08:00
12 changed files with 76 additions and 17 deletions

View File

@ -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
;;