On Tue, Jul 5, 2016 at 5:07 PM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > Hi Duy, > > ever since I started working extensively with worktrees, I end up with > these funny gc problems, like broken links and stale reflogs. Yeah we have problem with gc not traversing all worktree refs. I had something that could fix it temporarily [1] but the decision was to wait for refs code to support new "worktree storage" so that we can walk worktree refs properly, then fix gc [2]. We should get pretty close to that point after [3] lands. [1] http://thread.gmane.org/gmane.comp.version-control.git/295961/focus=296076 [2] http://thread.gmane.org/gmane.comp.version-control.git/295961/focus=296219 [3] http://thread.gmane.org/gmane.comp.version-control.git/296409 > Is it maybe possible that the reflogs (which are per-worktree now) are not > traversed completely when gc'ing (which is *not* per-worktree)? -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html