filebuf.c
12.1 KB
-
filebuf: follow symlinks when creating a lock file · c1dabd18
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