Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorDmitry Ivankov <divanorama@gmail.com>2011-06-16 17:42:48 +0400
committerJunio C Hamano <gitster@pobox.com>2011-06-16 21:33:50 +0400
commit7be8b3baba863ae5297aedbc3635d6f4a3336838 (patch)
tree5d6bc662ec26fa92a155e77c4cb18ffd8a276d2a /refs.c
parent302bd999fd0ef41f3605a2212c23f54ae43649f8 (diff)
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>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index e3c05110e5..b10419a698 100644
--- a/refs.c
+++ b/refs.c
@@ -1451,7 +1451,7 @@ int write_ref_sha1(struct ref_lock *lock,
}
o = parse_object(sha1);
if (!o) {
- error("Trying to write ref %s with nonexistant object %s",
+ error("Trying to write ref %s with nonexistent object %s",
lock->ref_name, sha1_to_hex(sha1));
unlock_ref(lock);
return -1;