From 237fe933713ea3d86ed8fbdb86819797b770405b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 15 Feb 2018 19:29:00 +0000 Subject: git-debrebase: do not add -i in default invocation Signed-off-by: Ian Jackson --- git-debrebase | 1 - tests/tests/gdr-edits | 13 ++++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/git-debrebase b/git-debrebase index 70808da..50fa1bc 100755 --- a/git-debrebase +++ b/git-debrebase @@ -834,7 +834,6 @@ sub defaultcmd_rebase () { my $old = get_head(); my ($tip,$breakwater) = walk $old; update_head_postlaunder $old, $tip, 'launder for rebase'; - @ARGV = qw(-i) unless @ARGV; # make configurable runcmd @git, qw(rebase), @ARGV, $breakwater; } diff --git a/tests/tests/gdr-edits b/tests/tests/gdr-edits index f5ca2a4..1d74da3 100755 --- a/tests/tests/gdr-edits +++ b/tests/tests/gdr-edits @@ -11,6 +11,17 @@ cd $p t-git-debrebase analyse |tee ../anal.1 cat ../anal.1 -: xxx +echo >>debian/zorkmid '// debian' +git add debian/zorkmid +git commit -m 'DEBIAN add zorkmid' + +echo >>src.c '// upstream' +git commit -a -m 'UPSTREAM edit src.c' + +for f in debian/zorkmid src.c; do + echo '// both!' >>$f + git add $f +done +git commit -m 'MIXED add boths' t-ok -- cgit v1.2.3