On 08/23/2017 02:36 PM, Nguyễn Thái Ngọc Duy wrote: > "git gc" when used in multiple worktrees ignore some per-worktree > references: object references in the index, HEAD and reflog. This > series fixes it by making the revision walker include these from all > worktrees by default (and the series is basically split in three parts > in the same order). There's a couple more cleanups in refs.c. Luckily > it does not conflict with anything in 'pu'. > > Compared to v3 [1], the largest change is supporting multi worktree in > the reflog iterator. The merge iterator is now used (Micheal was right > all along). I read over all of the refs-related changes in this patch series. Aside from the comments that I left, they look good to me. Thanks! Michael