summaryrefslogtreecommitdiffstats
path: root/dir.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-08 23:21:35 +0200
committerJunio C Hamano <gitster@pobox.com>2016-08-08 23:21:35 +0200
commit743fba85f7dfb04eff4df55dc8d7aa08f3f8eaa3 (patch)
treee2aa879bce2c875e7268fb35b50d0287ed505fd3 /dir.h
parentMerge branch 'js/ignore-space-at-eol' into maint (diff)
parentnotes-merge: use O_EXCL to avoid overwriting existing files (diff)
downloadgit-743fba85f7dfb04eff4df55dc8d7aa08f3f8eaa3.tar.xz
git-743fba85f7dfb04eff4df55dc8d7aa08f3f8eaa3.zip
Merge branch 'rs/notes-merge-no-toctou' into maint
"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
Diffstat (limited to 'dir.h')
0 files changed, 0 insertions, 0 deletions