t_expect_success 'gc is not aborted due to a stale
symref' '
)
'
+test_expect_success 'install pre-auto-gc hook for worktrees' '
+ mkdir -p .git/hooks &&
+ write_script .git/hooks/pre-auto-gc <<-\EOF
+ echo "Preserving refs/reflogs of worktrees" >&2 &&
+
On Tue, Jul 5, 2016 at 5:07 PM, Johannes Schindelin
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
Hi Duy,
ever since I started working extensively with worktrees, I end up with
these funny gc problems, like broken links and stale reflogs.
Is it maybe possible that the reflogs (which are per-worktree now) are not
traversed completely when gc'ing (which is *not* per-worktree)?
Ciao,
Dscho
--
3 matches
Mail list logo