@@ -164,9 +164,9 @@ test_expect_success 'fsck with unsorted skipList' '
164164test_expect_success ' fsck with invalid or bogus skipList input' '
165165 git -c fsck.skipList=/dev/null -c fsck.missingEmail=ignore fsck &&
166166 test_must_fail git -c fsck.skipList=does-not-exist -c fsck.missingEmail=ignore fsck 2>err &&
167- test_i18ngrep "Could not open skip list: does-not-exist" err &&
167+ test_i18ngrep "Could not open object name list: does-not-exist" err &&
168168 test_must_fail git -c fsck.skipList=.git/config -c fsck.missingEmail=ignore fsck 2>err &&
169- test_i18ngrep "Invalid SHA-1 : \[core\]" err
169+ test_i18ngrep "Invalid object name : \[core\]" err
170170'
171171
172172test_expect_success ' fsck with other accepted skipList input (comments & empty lines)' '
@@ -193,7 +193,7 @@ test_expect_success 'fsck no garbage output from comments & empty lines errors'
193193test_expect_success ' fsck with invalid abbreviated skipList input' '
194194 echo $commit | test_copy_bytes 20 >SKIP.abbreviated &&
195195 test_must_fail git -c fsck.skipList=SKIP.abbreviated fsck 2>err-abbreviated &&
196- test_i18ngrep "^fatal: Invalid SHA-1 : " err-abbreviated
196+ test_i18ngrep "^fatal: Invalid object name : " err-abbreviated
197197'
198198
199199test_expect_success ' fsck with exhaustive accepted skipList input (various types of comments etc.)' '
@@ -226,10 +226,10 @@ test_expect_success 'push with receive.fsck.skipList' '
226226 test_must_fail git push --porcelain dst bogus &&
227227 git --git-dir=dst/.git config receive.fsck.skipList does-not-exist &&
228228 test_must_fail git push --porcelain dst bogus 2>err &&
229- test_i18ngrep "Could not open skip list: does-not-exist" err &&
229+ test_i18ngrep "Could not open object name list: does-not-exist" err &&
230230 git --git-dir=dst/.git config receive.fsck.skipList config &&
231231 test_must_fail git push --porcelain dst bogus 2>err &&
232- test_i18ngrep "Invalid SHA-1 : \[core\]" err &&
232+ test_i18ngrep "Invalid object name : \[core\]" err &&
233233
234234 git --git-dir=dst/.git config receive.fsck.skipList SKIP &&
235235 git push --porcelain dst bogus
@@ -255,10 +255,10 @@ test_expect_success 'fetch with fetch.fsck.skipList' '
255255 test_must_fail git --git-dir=dst/.git fetch "file://$(pwd)" $refspec &&
256256 git --git-dir=dst/.git config fetch.fsck.skipList does-not-exist &&
257257 test_must_fail git --git-dir=dst/.git fetch "file://$(pwd)" $refspec 2>err &&
258- test_i18ngrep "Could not open skip list: does-not-exist" err &&
258+ test_i18ngrep "Could not open object name list: does-not-exist" err &&
259259 git --git-dir=dst/.git config fetch.fsck.skipList dst/.git/config &&
260260 test_must_fail git --git-dir=dst/.git fetch "file://$(pwd)" $refspec 2>err &&
261- test_i18ngrep "Invalid SHA-1 : \[core\]" err &&
261+ test_i18ngrep "Invalid object name : \[core\]" err &&
262262
263263 git --git-dir=dst/.git config fetch.fsck.skipList dst/.git/SKIP &&
264264 git --git-dir=dst/.git fetch "file://$(pwd)" $refspec
0 commit comments