Re: [PATCH v4 04/16] revision.c: --indexed-objects add objects from all worktrees

2017-08-23 Thread Stefan Beller
On Wed, Aug 23, 2017 at 5:36 AM, Nguyễn Thái Ngọc Duy wrote: > 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.

[PATCH v4 04/16] revision.c: --indexed-objects add objects from all worktrees

2017-08-23 Thread Nguyễn Thái Ngọc Duy
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: