author | Junio C Hamano <gitster@pobox.com> | |
Tue, 31 May 2011 19:00:27 +0000 (12:00 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 31 May 2011 19:00:27 +0000 (12:00 -0700) |
* ab/i18n-fixup: (24 commits)
i18n: use test_i18n{cmp,grep} in t7600, t7607, t7611 and t7811
i18n: use test_i18n{grep,cmp} in t7508
i18n: use test_i18ngrep in t7506
i18n: use test_i18ngrep and test_i18ncmp in t7502
i18n: use test_i18ngrep in t7501
i18n: use test_i18ncmp in t7500
i18n: use test_i18ngrep in t7201
i18n: use test_i18ncmp and test_i18ngrep in t7102 and t7110
i18n: use test_i18ncmp and test_i18ngrep in t5541, t6040, t6120, t7004, t7012 and t7060
i18n: use test_i18ncmp and test_i18ngrep in t3700, t4001 and t4014
i18n: use test_i18ncmp and test_i18ngrep in t3203, t3501 and t3507
i18n: use test_i18ngrep in t2020, t2204, t3030, and t3200
i18n: use test_i18ngrep in lib-httpd and t2019
i18n: do not overuse C_LOCALE_OUTPUT (grep)
i18n: use test_i18ncmp in t1200 and t2200
i18n: .git file is not a human readable message (t5601)
i18n: do not overuse C_LOCALE_OUTPUT
i18n: mark init-db messages for translation
i18n: mark checkout plural warning for translation
i18n: mark checkout --detach messages for translation
...
i18n: use test_i18n{cmp,grep} in t7600, t7607, t7611 and t7811
i18n: use test_i18n{grep,cmp} in t7508
i18n: use test_i18ngrep in t7506
i18n: use test_i18ngrep and test_i18ncmp in t7502
i18n: use test_i18ngrep in t7501
i18n: use test_i18ncmp in t7500
i18n: use test_i18ngrep in t7201
i18n: use test_i18ncmp and test_i18ngrep in t7102 and t7110
i18n: use test_i18ncmp and test_i18ngrep in t5541, t6040, t6120, t7004, t7012 and t7060
i18n: use test_i18ncmp and test_i18ngrep in t3700, t4001 and t4014
i18n: use test_i18ncmp and test_i18ngrep in t3203, t3501 and t3507
i18n: use test_i18ngrep in t2020, t2204, t3030, and t3200
i18n: use test_i18ngrep in lib-httpd and t2019
i18n: do not overuse C_LOCALE_OUTPUT (grep)
i18n: use test_i18ncmp in t1200 and t2200
i18n: .git file is not a human readable message (t5601)
i18n: do not overuse C_LOCALE_OUTPUT
i18n: mark init-db messages for translation
i18n: mark checkout plural warning for translation
i18n: mark checkout --detach messages for translation
...
12 files changed:
1 | 2 | |||
---|---|---|---|---|
builtin/clone.c | patch | | diff1 | | diff2 | | blob | history |
builtin/init-db.c | patch | | diff1 | | diff2 | | blob | history |
builtin/merge.c | patch | | diff1 | | diff2 | | blob | history |
t/t0001-init.sh | patch | | diff1 | | diff2 | | blob | history |
t/t2200-add-update.sh | patch | | diff1 | | diff2 | | blob | history |
t/t3200-branch.sh | patch | | diff1 | | diff2 | | blob | history |
t/t4001-diff-rename.sh | patch | | diff1 | | diff2 | | blob | history |
t/t4014-format-patch.sh | patch | | diff1 | | diff2 | | blob | history |
t/t7012-skip-worktree-writing.sh | patch | | diff1 | | diff2 | | blob | history |
t/t7060-wtstatus.sh | patch | | diff1 | | diff2 | | blob | history |
t/t7600-merge.sh | patch | | diff1 | | diff2 | | blob | history |
t/test-lib.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc builtin/clone.c
Simple merge
diff --cc builtin/init-db.c
Simple merge
diff --cc builtin/merge.c
Simple merge
diff --cc t/t0001-init.sh
Simple merge
diff --cc t/t2200-add-update.sh
Simple merge
diff --cc t/t3200-branch.sh
Simple merge
diff --cc t/t4001-diff-rename.sh
index 3dadf9b31636b862b2ab7377ce7100ebebd397e2,9a16d1cd932c901570b4d8218469d74692e5341f..844277cfa605f51cccd5d78a48a83fb75c03af9b
+++ b/t/t4001-diff-rename.sh
git rm path1 &&
mkdir subdir &&
git mv another-path subdir/path1 &&
- git status | grep "renamed: .*path1 -> subdir/path1"'
+ git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
- test_expect_success C_LOCALE_OUTPUT 'favour same basenames even with minor differences' '
+ test_expect_success 'favour same basenames even with minor differences' '
git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
- git status | grep "renamed: .*path1 -> subdir/path1"'
+ git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
+test_expect_success 'setup for many rename source candidates' '
+ git reset --hard &&
+ for i in 0 1 2 3 4 5 6 7 8 9;
+ do
+ for j in 0 1 2 3 4 5 6 7 8 9;
+ do
+ echo "$i$j" >"path$i$j"
+ done
+ done &&
+ git add "path??" &&
+ test_tick &&
+ git commit -m "hundred" &&
+ (cat path1; echo new) >new-path &&
+ echo old >>path1 &&
+ git add new-path path1 &&
+ git diff -l 4 -C -C --cached --name-status >actual 2>actual.err &&
+ sed -e "s/^\([CM]\)[0-9]* /\1 /" actual >actual.munged &&
+ cat >expect <<-EOF &&
+ C path1 new-path
+ M path1
+ EOF
+ test_cmp expect actual.munged &&
+ grep warning actual.err
+'
+
test_done
diff --cc t/t4014-format-patch.sh
Simple merge
diff --cc t/t7012-skip-worktree-writing.sh
Simple merge
diff --cc t/t7060-wtstatus.sh
Simple merge
diff --cc t/t7600-merge.sh
Simple merge
diff --cc t/test-lib.sh
Simple merge