Commit 7a76c28
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 <[email protected]>
Signed-off-by: Matthieu Moy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 7bbc4e8 commit 7a76c28
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
| 1486 | + | |
| 1487 | + | |
1486 | 1488 | | |
1487 | 1489 | | |
1488 | | - | |
| 1490 | + | |
1489 | 1491 | | |
1490 | | - | |
| 1492 | + | |
1491 | 1493 | | |
1492 | 1494 | | |
1493 | | - | |
| 1495 | + | |
1494 | 1496 | | |
1495 | 1497 | | |
1496 | | - | |
| 1498 | + | |
1497 | 1499 | | |
1498 | | - | |
| 1500 | + | |
1499 | 1501 | | |
1500 | 1502 | | |
1501 | 1503 | | |
| |||
1540 | 1542 | | |
1541 | 1543 | | |
1542 | 1544 | | |
| 1545 | + | |
1543 | 1546 | | |
1544 | 1547 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments