]> git.ipfire.org Git - thirdparty/git.git/commit
lockfile: add repo_hold_lock_file_for_update{,_timeout}{,_mode}()
authorRené Scharfe <l.s.r@web.de>
Tue, 14 Jul 2026 17:59:54 +0000 (19:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Jul 2026 19:54:25 +0000 (12:54 -0700)
commitd43f701d326ef3fe1bf04c1de24fa025ab228af8
tree58feb65368c26032280f15e948a11dcf7b3150f8
parent8432a4dee1c1206730c3e6bc5845c32272330bec
lockfile: add repo_hold_lock_file_for_update{,_timeout}{,_mode}()

Add variants of hold_lock_file_for_update_timeout_mode() that handle
arbitrary repositories.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.c
lockfile.h