diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2017-08-23 15:36:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-25 00:44:41 +0300 |
commit | be489d02d2f95b34e8f0fd15b9ec4752a11edd4c (patch) | |
tree | 8453a4f7809bfcc5fd6fe96f753b30bb07a88fa1 /refs.c | |
parent | 6c3d818154eb74a4d5b35e786eefd297745bae1a (diff) |
revision.c: --indexed-objects add objects from all worktrees
This is the result of single_worktree flag never being set (no way to up
until now). To get objects from current index only, set single_worktree.
The other add_index_objects_to_pending's caller is mark_reachable_objects()
(e.g. "git prune") which also mark objects from all indexes.
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 'refs.c')
0 files changed, 0 insertions, 0 deletions