summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-debrebase1
-rwxr-xr-xtests/tests/gdr-edits13
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