From: Ian Jackson Date: Sun, 22 Apr 2018 16:01:32 +0000 (+0100) Subject: git-debrebase: Do not run a no-op rebase in default mode X-Git-Tag: archive/debian/5.0~72 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=17ffe84e1d4c3dcae3dfc6edb8369d913b4dd80b git-debrebase: Do not run a no-op rebase in default mode No functional change: this is always a no-op, since $breakwater is one of HEAD's ancestors. Signed-off-by: Ian Jackson --- diff --git a/git-debrebase b/git-debrebase index 748b49bc..59b15aa3 100755 --- a/git-debrebase +++ b/git-debrebase @@ -909,7 +909,7 @@ sub cmd_launder_v0 () { sub defaultcmd_rebase () { push @ARGV, @{ $opt_defaultcmd_interactive // [] }; my ($tip,$breakwater) = do_launder_head 'launder for rebase'; - runcmd @git, qw(rebase), @ARGV, $breakwater; + runcmd @git, qw(rebase), @ARGV, $breakwater if @ARGV; } sub cmd_analyse () {