Errors in worktree checkouts
In worktree
checkouts, creating a workarea fails because gitdir
is a file pointer, not a directory. The path given to the constructor should be used to determine the real git directory in use using git rev-parse --git-dir
.
This is a breaking change, so queue it up with 4.0 changes.
Cc: @brad.king