projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If you have a config containing something like this:
[git.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index
696e53f
..
aea0f40
100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-617,6
+617,12
@@
static void prepare_packed_git_one(char *objdir, int local)
/* we have .idx. Is it a file we can map? */
strcpy(path + len, de->d_name);
/* we have .idx. Is it a file we can map? */
strcpy(path + len, de->d_name);
+ for (p = packed_git; p; p = p->next) {
+ if (!memcmp(path, p->pack_name, len + namelen - 4))
+ break;
+ }
+ if (p)
+ continue;
p = add_packed_git(path, len + namelen, local);
if (!p)
continue;
p = add_packed_git(path, len + namelen, local);
if (!p)
continue;