refs.c: lock_ref_sha1_basic is used for all refs
lock_ref_sha1_basic is used to lock refs that sit directly in the .git dir such as HEAD and MERGE_HEAD in addition to the more ordinary refs under "refs/". Remove the note claiming otherwise. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ronnie Sahlberg committed
Oct 2, 2014 at 07:59 UTC
3c93c847cacea68e520f6099b18c69f406ab9407
1 file changed
+1
-1
refs.c
+1
-1
@@ -2134,7 +2134,7 @@ int dwim_log(const char *str, int len, unsigned char *sha1, char **log)
2134
}
2135
2136
/*
2137
- * Locks a "refs/" ref returning the lock on success and NULL on failure.
2137
+ * Locks a ref returning the lock on success and NULL on failure.
2138
* On failure errno is set to something meaningful.
2139
*/
2140
static struct ref_lock *lock_ref_sha1_basic(const char *refname,