Commit 8cfe108
committed
pytest_plugin(fix[gitconfig]): Always write config, remove early return
why: The fixture was returning early if .gitconfig already existed,
even if the file was empty or missing protocol.file.allow=always.
This caused failures on Arch Linux build where git/container setup
creates an incomplete .gitconfig before the fixture runs.
what:
- Remove early return that skipped writing when file exists
- Fixture now always writes the full config with protocol.file.allow
- Follow-up to #510, #511 for #5091 parent e3ed829 commit 8cfe108
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 157 | | |
161 | 158 | | |
162 | 159 | | |
| |||
0 commit comments