summaryrefslogtreecommitdiff
path: root/t/t7501-commit.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:42:17 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:56 -0800
commitb3b298afcbcb5cf5b497928fc9bcd17624112233 (patch)
treea1507b68d3b977ad7683a59dbc372ee2330ba622 /t/t7501-commit.sh
parent919a4ce0c110a22c00aa854aa16638786b143feb (diff)
downloadgit-b3b298afcbcb5cf5b497928fc9bcd17624112233.tar.gz
i18n: git-status "Initial commit" message
Gettextize the "# Initial commit" message. A test in t7501-commit.sh explicitly checked for this message. Change it to skip under GETTEXT_POISON=YesPlease. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit.sh')
-rwxr-xr-xt/t7501-commit.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh
index 8980738c75..a76c474195 100755
--- a/t/t7501-commit.sh
+++ b/t/t7501-commit.sh
@@ -14,8 +14,11 @@ test_tick
test_expect_success \
"initial status" \
"echo 'bongo bongo' >file &&
- git add file && \
- git status | grep 'Initial commit'"
+ git add file"
+
+test_expect_success C_LOCALE_OUTPUT \
+ "Constructing initial commit" \
+ "git status | grep 'Initial commit'"
test_expect_success \
"fail initial amend" \