Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-14 09:47:45 +0300
committerJunio C Hamano <junkio@cox.net>2006-11-25 02:42:49 +0300
commitc6702f4b95699c6bd47337516c32e3408dda0595 (patch)
tree3b33845a74d430c95823bc3e44fe7e49d3012bbe /upload-pack.c
parentfcd1e3190612fc59c2d820537280b5164d290d9d (diff)
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 4a9d6720a5..7e3c437d8e 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);
}