Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Update the main documentation index.
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index a5c894661090549e1676c7dd26fd2f72eb330d9f..161018097def05f717ae20e59e3df6cc1b01ab77 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-46,7
+46,7
@@
static int do_for_each_ref(const char *base, int (*fn)(const char *path, const u
if (namelen > 255)
continue;
memcpy(path + baselen, de->d_name, namelen+1);
- if (
l
stat(git_path("%s", path), &st) < 0)
+ if (stat(git_path("%s", path), &st) < 0)
continue;
if (S_ISDIR(st.st_mode)) {
retval = do_for_each_ref(path, fn);