Commit bb9e379
merge: reload index before git_merge
If the index in memory is different from the index on the disk,
previously merge would abort with GIT_ECONFLICT.
Reload the index before merging to fix this.
Fixes libgit2#42031 parent 46e1dab commit bb9e379
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3239 | 3239 | | |
3240 | 3240 | | |
3241 | 3241 | | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
3242 | 3245 | | |
3243 | 3246 | | |
3244 | 3247 | | |
| |||
0 commit comments