Commit 30643c3
committed
git: _really_ allow running in bare repositories
When I authored 176113f (git: allow operating on bare repositories,
2023-10-01), I obviously tested only with absolute `workDir` values.
Let's make it work with relative ones, too, by avoiding to override the
working directory _in addition_ to specifying `--git-dir=<path>`.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent a52831f commit 30643c3
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments