| author | Junio C Hamano <gitster@pobox.com> | |
| Wed, 2 Jan 2008 19:14:40 +0000 (11:14 -0800) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 2 Jan 2008 19:20:09 +0000 (11:20 -0800) | ||
| commit | 257f3020f69f3222cdefc1d84b148fb35b2c4f5b | |
| tree | 4cc7eddab646adc89a5e540f28f2d98abe92ca0b | tree | snapshot |
| parent | 321b1842dceb94bbaa00b9f75c7c2fe6bf6fad1c | commit | diff |
Update callers of check_ref_format()
This updates send-pack and fast-import to use symbolic constants
for checking the return values from check_ref_format(), and also
futureproof the logic in lock_any_ref_for_update() to explicitly
name the case that is usually considered an error but is Ok for
this particular use.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This updates send-pack and fast-import to use symbolic constants
for checking the return values from check_ref_format(), and also
futureproof the logic in lock_any_ref_for_update() to explicitly
name the case that is usually considered an error but is Ok for
this particular use.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| builtin-send-pack.c | diff | blob | history | |
| fast-import.c | diff | blob | history | |
| refs.c | diff | blob | history |