Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add_ref(): take a (struct ref_entry *) parameter
[gitweb.git]
/
pack-refs.c
diff --git
a/pack-refs.c
b/pack-refs.c
index 1290570260d184b9c94fdab62650d6e474b365b4..23bbd00e3e542e844fce08156c5c1073e6437d43 100644
(file)
--- a/
pack-refs.c
+++ b/
pack-refs.c
@@
-72,7
+72,7
@@
static void try_remove_empty_parents(char *name)
for (i = 0; i < 2; i++) { /* refs/{heads,tags,...}/ */
while (*p && *p != '/')
p++;
- /* tolerate duplicate slashes; see check_ref_format() */
+ /* tolerate duplicate slashes; see check_ref
name
_format() */
while (*p == '/')
p++;
}