Commit e699cbe
authored
Fix proxy-verifier path for non-worktree repositories (#12699)
The git rev-parse --git-common-dir command added in #12686 returns an
absolute path to the relevant .git direcotry for worktrees.
Unfortunately, it does a relative path for "regular" non-worktree
clones. Without converting to an absolute path, PROXY_VERIFIER_PATH
becomes relative and fails to resolve correctly when passed to autest.
This adds get_filename_component to ensure GIT_COMMON_DIR is always
absolute, fixing the issue for both repository types.1 parent a31fea8 commit e699cbe
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments