aboutsummaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-13 22:47:45 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-24 15:42:49 -0800
commitc6702f4b95699c6bd47337516c32e3408dda0595 (patch)
tree3b33845a74d430c95823bc3e44fe7e49d3012bbe /upload-pack.c
parentfcd1e3190612fc59c2d820537280b5164d290d9d (diff)
downloadgit-c6702f4b95699c6bd47337516c32e3408dda0595.tar.gz
git-c6702f4b95699c6bd47337516c32e3408dda0595.tar.xz
Why didn't we mark want_obj as ~UNINTERESTING in the old code?
Is this something we would want to do regardless of shallow clone?
Diffstat (limited to 'upload-pack.c')
-rw-r--r--upload-pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c
index 4a9d6720a..7e3c437d8 100644
--- 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);
}