File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -684,6 +684,7 @@ branch.<name>.rebase::
684684 When true, rebase the branch <name> on top of the fetched branch,
685685 instead of merging the default branch from the default remote when
686686 "git pull" is run.
687+ When the value is `interactive`, the rebase is run in interactive mode.
687688 *NOTE*: this is a possibly dangerous operation; do *not* use
688689 it unless you understand the implications (see linkgit:git-rebase[1]
689690 for details).
Original file line number Diff line number Diff line change @@ -44,7 +44,15 @@ merge_args=
4444curr_branch=$( git symbolic-ref -q HEAD)
4545curr_branch_short=" ${curr_branch# refs/ heads/ } "
4646rebase_options=
47- rebase=$( git config --bool branch.$curr_branch_short .rebase)
47+ case " $( git config branch.$curr_branch_short .rebase) " in
48+ interactive)
49+ rebase_options=-i
50+ rebase=true
51+ ;;
52+ * )
53+ rebase=$( git config --bool branch.$curr_branch_short .rebase)
54+ ;;
55+ esac
4856dry_run=
4957while :
5058do
You can’t perform that action at this time.
0 commit comments