Open artem-karpenko opened 4 years ago
Current implementation: 1) throws an error when ran for a worktree under Windows due to different path separators. 2) does not account for change of git directory in case it's a worktree directory when looking for packed-refs.
This PR fixes both issues.
Current implementation: 1) throws an error when ran for a worktree under Windows due to different path separators. 2) does not account for change of git directory in case it's a worktree directory when looking for packed-refs.
This PR fixes both issues.