Hi Duy, On Fri, 17 Feb 2017, Nguyễn Thái Ngọc Duy wrote: > So here is my latest attempt on fixing this issue. For people who are > not aware of it, git-gc does not take per-worktree refs, reflogs and > indexes into account. An odb prune may leave HEAD and references in > other worktrees pointing to nowhere. Thank you so much for working on this. The bug really affects my daily work very, very negatively. Will try to review as soon as possible. Ciao, Dscho