filebuf.c
4.97 KB
-
filebuf: follow symlinks when creating a lock file · d83b2e9f
We create a lockfile to update files under GIT_DIR. Sometimes these files are actually located elsewhere and a symlink takes their place. In that case we should lock and update the file at its final location rather than overwrite the symlink.
Carlos Martín Nieto committed