From 7a76c28ff29d6f819bb0bf9852b858f974b5c53a Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Thu, 20 Mar 2014 13:12:41 +0100 Subject: 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 Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- wt-status.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wt-status.h') diff --git a/wt-status.h b/wt-status.h index 30a4812583..82f6ce64f8 100644 --- a/wt-status.h +++ b/wt-status.h @@ -50,6 +50,7 @@ struct wt_status { enum commit_whence whence; int nowarn; int use_color; + int no_gettext; int display_comment_prefix; int relative_paths; int submodule_summary; -- cgit v1.2.3