Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odb: Do absolute-path resolution via rev-parse
Instead of manually resolving from `self.workdir /`. According to mystor#82 (comment), the current minimum supported git version is 2.5 or 2.7.3. This means we can use --absolute-git-dir, which was introduced in 2.13. --path-format=absolute was introduced in git 2.31.0, which at the time of this writing is very recent, so a comment has been added to update that remaining case when it's appropriate.
- Loading branch information