Skip to content

git: Fix core.fsync incompatibility and fix corruption of loose references

Patrick Steinhardt requested to merge pks-git-core.fsync-compatibility into master

This MR fixes incompatibilities with Git v2.36.0 caused by the introduction of core.fsync and the newly introduced warning when core.fsyncObjectFiles is set. Furthermore, it also fixes the root cause for loose-reference corruption due to the missing fsync(3P) before refs are renamed into place.

Fixes #4125 (closed)

Fixes #4117 (closed)

Merge request reports