diff options
Diffstat (limited to 'wt-status.c')
-rw-r--r-- | wt-status.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wt-status.c b/wt-status.c index 4b1713efb8..c5e68174f9 100644 --- a/wt-status.c +++ b/wt-status.c @@ -1396,11 +1396,6 @@ static void wt_shortstatus_print_tracking(struct wt_status *s) upstream_is_gone = 1; break; default: - /* Stop reporting if neither side has changes. */ - if (!num_ours && !num_theirs) { - fputc(s->null_termination ? '\0' : '\n', s->fp); - return; - } /* with base */ break; } @@ -1410,6 +1405,11 @@ static void wt_shortstatus_print_tracking(struct wt_status *s) color_fprintf(s->fp, header_color, "..."); color_fprintf(s->fp, branch_color_remote, "%s", base); + if (!upstream_is_gone && !num_ours && !num_theirs) { + fputc(s->null_termination ? '\0' : '\n', s->fp); + return; + } + color_fprintf(s->fp, header_color, " ["); if (upstream_is_gone) { color_fprintf(s->fp, header_color, _("gone")); |