Fix typo: existant->existent
refs.c had a error message "Trying to write ref with nonexistant object". And no tests relied on the wrong spelling. Also typo was present in some test scripts internals, these tests still pass. Signed-off-by: Dmitry Ivankov <divanorama@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Dmitry Ivankov committed
Jun 16, 2011 at 19:42 UTC
7be8b3baba863ae5297aedbc3635d6f4a3336838
7 files changed
+14
-14
refs.c
+1
-1
@@ -1451,7 +1451,7 @@ int write_ref_sha1(struct ref_lock *lock,
1451
}
1452
o = parse_object(sha1);
1453
if (!o) {
1454
- error("Trying to write ref %s with nonexistant object %s",
1454
+ error("Trying to write ref %s with nonexistent object %s",
1455
lock->ref_name, sha1_to_hex(sha1));
1456
unlock_ref(lock);
1457
return -1;
t/t3903-stash.sh
+1
-1
@@ -536,7 +536,7 @@ test_expect_success 'stash pop - fail early if specified stash is not a stash re
536
git reset --hard HEAD
537
'
538
539
-test_expect_success 'ref with non-existant reflog' '
539
+test_expect_success 'ref with non-existent reflog' '
540
git stash clear &&
541
echo bar5 > file &&
542
echo bar6 > file2 &&
t/t4203-mailmap.sh
+1
-1
@@ -94,7 +94,7 @@ nick1 (1):
94
95
EOF
96
97
-test_expect_success 'mailmap.file non-existant' '
97
+test_expect_success 'mailmap.file non-existent' '
98
rm internal_mailmap/.mailmap &&
99
rmdir internal_mailmap &&
100
git shortlog HEAD >actual &&
t/t4205-log-pretty-formats.sh
+1
-1
@@ -45,7 +45,7 @@ test_expect_success 'alias user-defined tformat' '
45
test_cmp expected actual
46
'
47
48
-test_expect_success 'alias non-existant format' '
48
+test_expect_success 'alias non-existent format' '
49
git config pretty.test-alias format-that-will-never-exist &&
50
test_must_fail git log --pretty=test-alias
51
'
t/t5506-remote-groups.sh
+3
-3
@@ -43,10 +43,10 @@ test_expect_success 'no group updates all' '
43
repo_fetched two
44
'
45
46
-test_expect_success 'nonexistant group produces error' '
47
- mark nonexistant &&
46
+test_expect_success 'nonexistent group produces error' '
47
+ mark nonexistent &&
48
update_repos &&
49
- test_must_fail git remote update nonexistant &&
49
+ test_must_fail git remote update nonexistent &&
50
! repo_fetched one &&
51
! repo_fetched two
52
'
t/t5516-fetch-push.sh
+5
-5
@@ -367,7 +367,7 @@ test_expect_success 'push with colon-less refspec (4)' '
367
368
'
369
370
-test_expect_success 'push head with non-existant, incomplete dest' '
370
+test_expect_success 'push head with non-existent, incomplete dest' '
371
372
mk_test &&
373
git push testrepo master:branch &&
@@ -375,7 +375,7 @@ test_expect_success 'push head with non-existant, incomplete dest' '
375
376
'
377
378
-test_expect_success 'push tag with non-existant, incomplete dest' '
378
+test_expect_success 'push tag with non-existent, incomplete dest' '
379
380
mk_test &&
381
git tag -f v1.0 &&
@@ -384,14 +384,14 @@ test_expect_success 'push tag with non-existant, incomplete dest' '
384
385
'
386
387
-test_expect_success 'push sha1 with non-existant, incomplete dest' '
387
+test_expect_success 'push sha1 with non-existent, incomplete dest' '
388
389
mk_test &&
390
test_must_fail git push testrepo `git rev-parse master`:foo
391
392
'
393
394
-test_expect_success 'push ref expression with non-existant, incomplete dest' '
394
+test_expect_success 'push ref expression with non-existent, incomplete dest' '
395
396
mk_test &&
397
test_must_fail git push testrepo master^:branch
@@ -436,7 +436,7 @@ test_expect_success 'push with +HEAD' '
436
437
'
438
439
-test_expect_success 'push HEAD with non-existant, incomplete dest' '
439
+test_expect_success 'push HEAD with non-existent, incomplete dest' '
440
441
mk_test &&
442
git checkout master &&
t/t9300-fast-import.sh
+2
-2
@@ -1893,7 +1893,7 @@ test_expect_success \
1893
test_cmp marks.out marks.new'
1894
1895
cat >input <<EOF
1896
-feature import-marks=nonexistant.marks
1896
+feature import-marks=nonexistent.marks
1897
feature export-marks=marks.new
1898
EOF
1899
@@ -1904,7 +1904,7 @@ test_expect_success \
1904
1905
1906
cat >input <<EOF
1907
-feature import-marks=nonexistant.marks
1907
+feature import-marks=nonexistent.marks
1908
feature export-marks=combined.marks
1909
EOF
1910