mingw: use _commit to implement fsync
mingw: use _commit to implement fsync

Signed-off-by: Erik Faye-Lund <2a8ffc07e8f57d80a2934ccc3dd1949354d82b2d@gmail.com>
Signed-off-by: Johannes Sixt <fd432345609ae4d58c1aa629cb66ba96d1391622@kdbg.org>
Signed-off-by: Junio C Hamano <a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git