Commit d4a04f1
committed
Fixed: subrepo push fails in submodule
The creation of the temporary worktree failed because the temporary
path was hard coded to be under the folder .git,
which does not exist for submodules (or worktrees, in fact).
Replaced it with a call to git rev-parse --git-dir, which supports
all scenarios.1 parent 5d6aba9 commit d4a04f1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments