Commit e4920a3
committed
Fix: forward env parameter through gitCommand to VcsProcess
The execute method in GitVcsDriver and the gitCommand helper were not
forwarding the env field from the input to process.run. This caused
CheckpointStore.captureCheckpoint's GIT_INDEX_FILE, GIT_AUTHOR_*, and
GIT_COMMITTER_* environment variables to be silently dropped, resulting
in checkpoint operations mutating the user's real staging area instead
of an isolated temporary index.1 parent ffc20e0 commit e4920a3
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| |||
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| 273 | + | |
272 | 274 | | |
273 | 275 | | |
274 | 276 | | |
| |||
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
| |||
0 commit comments