summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 859607d)
raw | patch | inline | side by side (parent: 859607d)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 1 Feb 2007 20:52:22 +0000 (15:52 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 2 Feb 2007 06:21:19 +0000 (22:21 -0800) |
There is little point in having the linked list insertion code
appearing in install_packed_git, and then again just 30 lines
further down in the same file.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
appearing in install_packed_git, and then again just 30 lines
further down in the same file.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | patch | blob | history |
diff --git a/sha1_file.c b/sha1_file.c
index 498665e50c1a5053e29a80c37ad95b800bb0f86d..a42f94ac94fac2186cbcb0eed395ea3befd8fced 100644 (file)
--- a/sha1_file.c
+++ b/sha1_file.c
p = add_packed_git(path, len + namelen, local);
if (!p)
continue;
- p->next = packed_git;
- packed_git = p;
+ install_packed_git(p);
}
closedir(dir);
}