libgit2 / git2go

Git to Go; bindings for libgit2. Like McDonald's but tastier.
MIT License
1.93k stars 314 forks source link

Add EnableFsyncGitDir to enable synchronized writes to the gitdir #874

Closed proglottis closed 2 years ago

proglottis commented 2 years ago

This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.

https://github.com/libgit2/libgit2/blob/v0.28.1/include/git2/common.h#L357