Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
}
}
+sub cmd_anchor () {
+ badusage "no arguments allowed" if @ARGV;
+ my ($anchor, $bw) = keycommits +(git_rev_parse 'HEAD'), 0,0;
+ print "$bw\n" or die $!;
+}
+
sub cmd_breakwater () {
badusage "no arguments allowed" if @ARGV;
my ($anchor, $bw) = keycommits +(git_rev_parse 'HEAD'), 0,0;
If your HEAD branch is not fully laundered,
prints the tip of the so-far-laundered breakwater.
+=item git-debrebase anchor
+
+Prints the breakwater anchor commitid.
+
=item git-debrebase analyse
Walks the history of the current branch,