When we open a repository with the "Directory" option, we use "rev-parse
--git-dir" to get the path relative to that directory, and then use
Cwd::abs_path() to make it absolute (since our process working directory
may not be the same).
These days we can just ask for "--absolute-git-dir" instead, which saves
us a little code. That option was added in Git v2.13.0 via
|
||
|---|---|---|
| .. | ||
| FromCPAN | ||
| Git | ||
| header_templates | ||
| .gitignore | ||
| Git.pm | ||