2012/7/25 Jonathan Nieder <jrnieder@xxxxxxxxx>: >> @@ -64,7 +64,7 @@ test_expect_success 'rebase -n overrides config rebase.stat config' ' >> >> test_expect_success 'rebase --onto outputs the invalid ref' ' >> test_must_fail git rebase --onto invalid-ref HEAD HEAD 2>err && >> - grep "invalid-ref" err >> + test_i18ngrep "invalid-ref" err >> ' > > This is probably part of a message intended for humans, but the test > does not say. What is the full message being checked? > The error messages are: fatal: Needed a single revision Does not point to a valid commit: invalid-ref The first line has not been marked for translation (comes from builtin/rev-parse.c), but the second line is marked for translation in this patch. The output in my locale would be: fatal: Needed a single revision 没有指向一个有效的提交:invalid-ref -- Jiang Xin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html