diff options
author | Michal Suchanek <msuchanek@suse.de> | 2019-02-20 17:16:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-12 15:56:11 +0900 |
commit | 7af01f23678dbaeed37773e37737f2ef3db1cb49 (patch) | |
tree | a2f1c5b36ad282814b077e8e04009e54e1ad800a /Documentation/config/user.txt | |
parent | Merge tag 'l10n-2.21.0-rnd2.1' of git://github.com/git-l10n/git-po (diff) | |
download | tgif-7af01f23678dbaeed37773e37737f2ef3db1cb49.tar.xz |
worktree: fix worktree add race
Git runs a stat loop to find a worktree name that's available and
then does mkdir on the found name. Turn it to mkdir loop to avoid
another invocation of worktree add finding the same free name and
creating the directory first.
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/user.txt')
0 files changed, 0 insertions, 0 deletions