File: git_worktree_remove_fails.mdwn

package info (click to toggle)
git-annex 10.20251029-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 75,300 kB
  • sloc: haskell: 91,492; javascript: 9,103; sh: 1,593; makefile: 216; perl: 137; ansic: 44
file content (1 line) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (5)
1
"git worktree remove" fails if git-annex has operated on the worktree, because git expects .git in a worktree to be a file, while git-annex changes it to a symlink ([[tips/Using_git-worktree_with_annex/]]).  Also, git-annex-test does not currently seem to test git-annex operation on worktrees added by git-worktree?