Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ms/worktree-add-atomic-mkdir'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 9 Apr 2019 17:14:24 +0000
(
02:14
+0900)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 9 Apr 2019 17:14:24 +0000
(
02:14
+0900)
"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
1
2
builtin/worktree.c
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
combined
(merge:
31df2c1
7af01f2
)
diff --cc
builtin/worktree.c
Simple merge