File: git_worktree_remove_fails.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; 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?