Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make pprint_tag void and cleans up call in cmd_cat_file.
[gitweb.git]
/
local-fetch.c
diff --git
a/local-fetch.c
b/local-fetch.c
index b6ec170c015661ec602a6c2bd2b2f10754dbbd9c..7d01845d392ab891c8cfe9db9a218e4c2d70e53e 100644
(file)
--- a/
local-fetch.c
+++ b/
local-fetch.c
@@
-44,7
+44,7
@@
static int setup_indices(void)
while ((de = readdir(dir)) != NULL) {
int namelen = strlen(de->d_name);
if (namelen != 50 ||
- !has_extension(de->d_name,
namelen,
".pack"))
+ !has_extension(de->d_name, ".pack"))
continue;
get_sha1_hex(de->d_name + 5, sha1);
setup_index(sha1);