summaryrefslogtreecommitdiff
path: root/git-debrebase
diff options
context:
space:
mode:
Diffstat (limited to 'git-debrebase')
-rwxr-xr-xgit-debrebase10
1 files changed, 10 insertions, 0 deletions
diff --git a/git-debrebase b/git-debrebase
index 927a391..d66fd9a 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -2286,6 +2286,16 @@ sub cmd_status () {
print __ "key git-debrebase commits:\n";
$prab->($anchor, __ 'anchor');
$prab->($bw, __ 'breakwater');
+ if (defined $anchor) {
+ print " upstream\n";
+ my $cl = classify $anchor;
+ my $ops = $cl->{OrigParents};
+ if ($ops) {
+ $prcommitinfo->($ops->[0]{CommitId});
+ } else {
+ printf " %s\n", treated_anchor_msg();
+ }
+ }
my ($ffqstatus, $ffq_msg, $current, $ffq_prev, $gdrlast) =
ffq_prev_branchinfo();