Commit 392337b
committed
Wrap the cache in a critical section
Git's error messages were being truncated. Turns out git used two
threads, one writing to the console and one to file. This caused a
conflict in `IsConsoleHandle` when the cache was updated. Making it a
critical section solves the issue.1 parent 0366daa commit 392337b
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3189 | 3189 | | |
3190 | 3190 | | |
3191 | 3191 | | |
| 3192 | + | |
| 3193 | + | |
3192 | 3194 | | |
3193 | 3195 | | |
3194 | 3196 | | |
| |||
3198 | 3200 | | |
3199 | 3201 | | |
3200 | 3202 | | |
3201 | | - | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
3202 | 3206 | | |
3203 | 3207 | | |
3204 | 3208 | | |
| |||
3216 | 3220 | | |
3217 | 3221 | | |
3218 | 3222 | | |
3219 | | - | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
3220 | 3228 | | |
3221 | 3229 | | |
3222 | 3230 | | |
| |||
0 commit comments