summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-07-24 21:50:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-24 21:50:47 (GMT)
commit8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc (patch)
tree4885e60c44a6e2ad259ca43986cb5fed9d01499d /revision.c
parent7633ff48ed3ee942cb9c1d233b41ef3a2676cb8a (diff)
parenta7e67c11b8b983b4a9f56f0b8990a550946ed6b0 (diff)
downloadgit-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.zip
git-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.tar.gz
git-8fa8a4f1ec088ab937d1c460f3eb1701e51b8ffc.tar.bz2
Merge branch 'jt/partial-clone-fsck-connectivity'
Partial clone support of "git clone" has been updated to correctly validate the objects it receives from the other side. The server side has been corrected to send objects that are directly requested, even if they may match the filtering criteria (e.g. when doing a "lazy blob" partial clone). * jt/partial-clone-fsck-connectivity: clone: check connectivity even if clone is partial upload-pack: send refs' objects despite "filter"
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c
index 72abe23..a257039 100644
--- a/revision.c
+++ b/revision.c
@@ -175,6 +175,7 @@ static void add_pending_object_with_path(struct rev_info *revs,
strbuf_release(&buf);
return; /* do not add the commit itself */
}
+ obj->flags |= USER_GIVEN;
add_object_array_with_path(obj, name, &revs->pending, mode, path);
}