]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/gc.c
maintenance: create `launchctl` configuration using a lock file
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 24 Aug 2021 15:43:59 +0000 (15:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Aug 2021 21:16:57 +0000 (14:16 -0700)
commitbb01122a82002dc5948147800da40a149779a7b1
treeae978502164c4284d6f127090c0506038b4f4c64
parent225bc32a989d7a22fa6addafd4ce7dcd04675dbf
maintenance: create `launchctl` configuration using a lock file

When two `git maintenance` processes try to write the `.plist` file, we
need to help them with serializing their efforts.

The 150ms time-out value was determined from thin air.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c