diff options
author | Andreas Ericsson <ae@op5.se> | 2008-09-29 22:28:57 +0200 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-09-30 15:34:52 -0700 |
commit | f8cca019b9ea9471719505ca6ccf020feb219d98 (patch) | |
tree | 0d6224a8911d4a9ad10cb63689a22070e273bf1b /t/t1004-read-tree-m-u-wf.sh | |
parent | Merge branch 'maint' (diff) | |
download | tgif-f8cca019b9ea9471719505ca6ccf020feb219d98.tar.xz |
rebase: Support preserving merges in non-interactive mode
As a result of implementation details, 'git rebase' could
previously only preserve merges in interactive mode. That
limitation was hard for users to understand and awkward to
explain.
This patch works around it by running the interactive rebase
helper git-rebase--interactive with GIT_EDITOR set to ':'
when the user passes "-p" but not "-i" to the rebase command.
The effect is that the interactive rebase helper is used but
the user never sees an editor.
The test-case included in this patch was originally written
by Stephen Habermann <stephen@exigencecorp.com>, but has
been extensively modified since its creation.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t1004-read-tree-m-u-wf.sh')
0 files changed, 0 insertions, 0 deletions