diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-06-04 02:55:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-04 02:55:44 +0200 |
commit | c5da34c12481ff6edc3f46463cbf43efe856308e (patch) | |
tree | 1f6be27746458c6314427a3ba264db6341288151 /ref-filter.c | |
parent | Merge branch 'jk/unbreak-am-h' (diff) | |
parent | C style: use standard style for "TRANSLATORS" comments (diff) | |
download | git-c5da34c12481ff6edc3f46463cbf43efe856308e.tar.xz git-c5da34c12481ff6edc3f46463cbf43efe856308e.zip |
Merge branch 'ab/c-translators-comment-style'
Update the C style recommendation for notes for translators, as
recent versions of gettext tools can work with our style of
multi-line comments.
* ab/c-translators-comment-style:
C style: use standard style for "TRANSLATORS" comments
Diffstat (limited to 'ref-filter.c')
-rw-r--r-- | ref-filter.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ref-filter.c b/ref-filter.c index 3742abbf85..af5c0edb48 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -1258,13 +1258,17 @@ char *get_head_description(void) state.branch); else if (state.detached_from) { if (state.detached_at) - /* TRANSLATORS: make sure this matches - "HEAD detached at " in wt-status.c */ + /* + * TRANSLATORS: make sure this matches "HEAD + * detached at " in wt-status.c + */ strbuf_addf(&desc, _("(HEAD detached at %s)"), state.detached_from); else - /* TRANSLATORS: make sure this matches - "HEAD detached from " in wt-status.c */ + /* + * TRANSLATORS: make sure this matches "HEAD + * detached from " in wt-status.c + */ strbuf_addf(&desc, _("(HEAD detached from %s)"), state.detached_from); } |