aboutsummaryrefslogtreecommitdiffstats
path: root/wt-status.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-09 15:25:42 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-09 15:25:42 -0700
commit92f66fd43b6968da9f14478aa9060ce85f8e3586 (patch)
tree50b1640726c2765eb317f317878db040cb511c51 /wt-status.c
parent892d3fb71e75849811c038b9fcaf17188a9ccf5d (diff)
parent28438e84e046984afc76dc891a49bd0862d555f7 (diff)
downloadgit-92f66fd43b6968da9f14478aa9060ce85f8e3586.tar.gz
Merge branch 'md/sort-detached-head-first'
"git branch --list" learned to always output the detached HEAD as the first item (when the HEAD is detached, of course), regardless of the locale. * md/sort-detached-head-first: ref-filter: sort detached HEAD lines firstly
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wt-status.c b/wt-status.c
index 0bccef542f..c29e4bf091 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -1676,9 +1676,9 @@ static void wt_longstatus_print(struct wt_status *s)
} else if (s->state.detached_from) {
branch_name = s->state.detached_from;
if (s->state.detached_at)
- on_what = _("HEAD detached at ");
+ on_what = HEAD_DETACHED_AT;
else
- on_what = _("HEAD detached from ");
+ on_what = HEAD_DETACHED_FROM;
} else {
branch_name = "";
on_what = _("Not currently on any branch.");