summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.6.4.txt
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2010-12-17 20:26:47 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-03 14:10:46 -0800
commitcc5fa2fdafa186d6e1e310828b22d0028e1fb51b (patch)
treeb29c740aed0ae94a7e2367d0f82cccfd42574b01 /Documentation/RelNotes/1.6.4.txt
parentt6004: add pathspec globbing test for log family (diff)
downloadtgif-cc5fa2fdafa186d6e1e310828b22d0028e1fb51b.tar.xz
Make rev-list --objects work together with pathspecs
When traversing commits, the selection of commits would heed the list of pathspecs passed, but subsequent walking of the trees of those commits would not. This resulted in 'rev-list --objects HEAD -- <paths>' displaying objects at unwanted paths. Have process_tree() call tree_entry_interesting() to determine which paths are interesting and should be walked. Naturally, this change can provide a large speedup when paths are specified together with --objects, since many tree entries are now correctly ignored. Interestingly, though, this change also gives me a small (~1%) but repeatable speedup even when no paths are specified with --objects. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.6.4.txt')
0 files changed, 0 insertions, 0 deletions