Unconditionally enable fsyncing in Rugged
We need to unconditionally enable fsyncing in Rugged so that we do not rely on the external gitconfig anymore. Unfortunately, Rugged doesn't provide any interface to add Git configuration that's not file-based. So we either have to replace the config search paths and thus deprecate the use of the gitconfig for Rugged (see rugged_git_config_search_path
). Or we have to wait until my upstream MR which implements support in Rugged for setting the fsync option in https://github.com/libgit2/rugged/pull/918.
Given that we were about to deprecate external gitconfigs anyway it's likely preferable to override the search path.
Edited by Patrick Steinhardt