Commit 6506f41
committed
Fix: forward env field from execute to gitCommand in GitVcsDriver
The execute method in GitVcsDriver was silently dropping the env field
from its input when calling gitCommand, and gitCommand's options type
didn't include env at all. This broke CheckpointStore.captureCheckpoint
which passes GIT_INDEX_FILE and author/committer overrides via env,
causing checkpoint git operations to use the user's real index instead
of the temporary one.1 parent 0bf7fab commit 6506f41
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
0 commit comments