projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd1e31
)
Why didn't we mark want_obj as ~UNINTERESTING in the old code?
author
Junio C Hamano
<junkio@cox.net>
Tue, 14 Nov 2006 06:47:45 +0000
(22:47 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 24 Nov 2006 23:42:49 +0000
(15:42 -0800)
Is this something we would want to do regardless of shallow clone?
upload-pack.c
patch
|
blob
|
history
diff --git
a/upload-pack.c
b/upload-pack.c
index 4a9d6720a5a0e9977bd9346e649666ead4e18fe4..7e3c437d8e1eaca61ccabb29f3097ba9c5c3732e 100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-138,6
+138,7
@@
static void create_pack_file(void)
} else {
for (i = 0; i < want_obj.nr; i++) {
struct object *o = want_obj.objects[i].item;
+ /* why??? */
o->flags &= ~UNINTERESTING;
add_pending_object(&revs, o, NULL);
}