Re: [PATCH] status: disable translation when --porcelain is used

2014-03-21 Thread Junio C Hamano
Matthieu Moy writes: > Junio C Hamano writes: > >>> diff --git a/wt-status.c b/wt-status.c >>> index a452407..e55e5b9 100644 >>> --- a/wt-status.c >>> +++ b/wt-status.c >>> @@ -1509,19 +1509,23 @@ static void wt_shortstatus_print_tracking(struct >>> wt_status *s) >>> return; >>>

Re: [PATCH] status: disable translation when --porcelain is used

2014-03-21 Thread Matthieu Moy
Junio C Hamano writes: >> diff --git a/wt-status.c b/wt-status.c >> index a452407..e55e5b9 100644 >> --- a/wt-status.c >> +++ b/wt-status.c >> @@ -1509,19 +1509,23 @@ static void wt_shortstatus_print_tracking(struct >> wt_status *s) >> return; >> } >> >> +const char *gone

Re: [PATCH] status: disable translation when --porcelain is used

2014-03-20 Thread Junio C Hamano
Matthieu Moy writes: > "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 sa

[PATCH] status: disable translation when --porcelain is used

2014-03-20 Thread Matthieu Moy
"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 hu