summaryrefslogtreecommitdiff
path: root/compat/mkdtemp.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-04-10 02:14:24 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-10 02:14:24 +0900
commit20fe798b1bf301f78485a56381ad8dad48b2c670 (patch)
tree14d934d1b9f1ccd8f8ffee470f9b4893f9c92272 /compat/mkdtemp.c
parentMerge branch 'jk/line-log-with-patch' (diff)
parentworktree: fix worktree add race (diff)
downloadtgif-20fe798b1bf301f78485a56381ad8dad48b2c670.tar.xz
Merge branch 'ms/worktree-add-atomic-mkdir'
"git worktree add" used to do a "find an available name with stat and then mkdir", which is race-prone. This has been fixed by using mkdir and reacting to EEXIST in a loop. * ms/worktree-add-atomic-mkdir: worktree: fix worktree add race
Diffstat (limited to 'compat/mkdtemp.c')
0 files changed, 0 insertions, 0 deletions