Code

Enhance hold_lock_file_for_{update,append}() API
authorJunio C Hamano <gitster@pobox.com>
Fri, 17 Oct 2008 22:44:39 +0000 (15:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Oct 2008 19:35:37 +0000 (12:35 -0700)
commitacd3b9eca82e38950f94e4708b528b7dae09a7c8
treef341dae377b97e9c7fd9746208be0fee56bda438
parentf5637549a7eb93883839de01399418e10bf81768
Enhance hold_lock_file_for_{update,append}() API

This changes the "die_on_error" boolean parameter to a mere "flags", and
changes the existing callers of hold_lock_file_for_update/append()
functions to pass LOCK_DIE_ON_ERROR.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
builtin-fetch-pack.c
builtin-revert.c
bundle.c
cache.h
lockfile.c
pack-refs.c
refs.c
rerere.c
sha1_file.c
t/t7201-co.sh