]> git.ipfire.org Git - thirdparty/git.git/commit - wt-status.h
status: disable translation when --porcelain is used
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Thu, 20 Mar 2014 12:12:41 +0000 (13:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Mar 2014 19:56:30 +0000 (12:56 -0700)
commit7a76c28ff29d6f819bb0bf9852b858f974b5c53a
tree4984072cbb3ef9bd68991161b16bf640e7b2c6ac
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d
status: disable translation when --porcelain is used

"git status --branch --porcelain" displays the status of the branch
(ahead, behind, gone), and used gettext to translate the string.

Use hardcoded strings when --porcelain is used, but keep the gettext
translation for "git status --short" which is essentially the same, but
meant to be read by a human.

Reported-by: Anarky <ghostanarky@gmail.com>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c
wt-status.h