If a repository is not the main tree but a worktree, this
function will look up the worktree inside the parent
repository and create a new git_worktree structure.
@param out_ Out-pointer for the newly allocated worktree
@param repo Repository to look up worktree for
Open a worktree of a given repository
If a repository is not the main tree but a worktree, this function will look up the worktree inside the parent repository and create a new git_worktree structure.
@param out_ Out-pointer for the newly allocated worktree @param repo Repository to look up worktree for