From: Ian Jackson Date: Tue, 2 Oct 2018 15:31:14 +0000 (+0100) Subject: git-debrebase: anchor: Print the anchor, not the breakwater tip (!) X-Git-Tag: archive/debian/7.0~30 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b093090b8d5a24cbc40a9e9b517f3f55a2144d47;p=dgit.git git-debrebase: anchor: Print the anchor, not the breakwater tip (!) Signed-off-by: Ian Jackson --- diff --git a/git-debrebase b/git-debrebase index 947feb1e..e6d75b7e 100755 --- a/git-debrebase +++ b/git-debrebase @@ -2268,7 +2268,7 @@ sub cmd_record_ffq_prev () { sub cmd_anchor () { badusage __ "no arguments allowed" if @ARGV; my ($anchor, $bw) = keycommits +(git_rev_parse 'HEAD'), 0,0; - print "$bw\n" or confess $!; + print "$anchor\n" or confess $!; } sub cmd_breakwater () {