From: Junio C Hamano Date: Tue, 9 Apr 2019 17:14:24 +0000 (+0900) Subject: Merge branch 'ms/worktree-add-atomic-mkdir' X-Git-Tag: v2.22.0-rc0~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20fe798b1bf301f78485a56381ad8dad48b2c670;p=git 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 --- 20fe798b1bf301f78485a56381ad8dad48b2c670