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 <gitster@pobox.com>2018-10-30 09:43:39 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-30 09:43:39 +0300
commit77d503757d6328703f9571a4432dd83800bc26bb (patch)
tree55b106aab90b9b44a8d8e7cc38af63f2a3e743b9 /revision.c
parentc670b1f876521c9f7cd40184bf7ed05aad843433 (diff)
parent8b10a206f090e01ce1ac4d9a10ec769e2409e2b0 (diff)
Merge branch 'md/filter-trees'
The "rev-list --filter" feature learned to exclude all trees via "tree:0" filter. * md/filter-trees: list-objects: support for skipping tree traversal filter-trees: code clean-up of tests list-objects-filter: implement filter tree:0 list-objects-filter-options: do not over-strbuf_init list-objects-filter: use BUG rather than die revision: mark non-user-given objects instead rev-list: handle missing tree objects properly list-objects: always parse trees gently list-objects: refactor to process_tree_contents list-objects: store common func args in struct
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index b5108b75ab..a1ddb9e11c 100644
--- a/revision.c
+++ b/revision.c
@@ -177,7 +177,6 @@ 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);
}