Handles an issue in windows with large code bases not squash merging correctly, this only catches the issue it doesn't really do any recovery.
- Group Reviewers
- Maniphest Tasks
- T4884: At some point, review hach-que's diffs
- rARC6b8552291dcc: Handles an issue in windows with large code bases not squash merging correctly.
We have been running this change in our work environment, it's a hard bug to replicate but when it has reared it's head this has caught it.
I guess I can accept this if you wrap it in a phutil_is_windows() call, but it would be nice to understand what's happening here, since it sounds like there's a fairly severe bug in Git if it's exiting with a dirty working copy.