mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-18 07:33:26 -05:00
"git notes merge" had a code to see if a path exists (and fails if it does) and then open the path for writing (when it doesn't). Replace it with open with O_EXCL. * rs/notes-merge-no-toctou: notes-merge: use O_EXCL to avoid overwriting existing files
23 KiB
23 KiB