From: Nguyễn Thái Ngọc Duy Date: Wed, 23 Aug 2017 12:36:52 +0000 (+0700) Subject: revision.c: --indexed-objects add objects from all worktrees X-Git-Tag: v2.15.0-rc0~92^2~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/be489d02d2f95b34e8f0fd15b9ec4752a11edd4c?hp=be489d02d2f95b34e8f0fd15b9ec4752a11edd4c 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 Signed-off-by: Junio C Hamano ---