| author | Junio C Hamano <junkio@cox.net> | |
| Tue, 6 Jun 2006 20:54:14 +0000 (13:54 -0700) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Tue, 6 Jun 2006 21:30:58 +0000 (14:30 -0700) | ||
| commit | c33d5174d692b1861e0b2f656e51b80b2b00a23c | |
| tree | 6900462def5a01ca8d3fe200c38e02dcd2c857a9 | tree | snapshot |
| parent | 021b6e454944a4fba878651ebf9bfe0a3f6c3077 | commit | diff |
refs.c: convert it to use lockfile interface.
This updates the ref locking code to use creat-rename locking
code we use for the index file, so that it can borrow the code
to clean things up upon signals and program termination.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This updates the ref locking code to use creat-rename locking
code we use for the index file, so that it can borrow the code
to clean things up upon signals and program termination.
Signed-off-by: Junio C Hamano <junkio@cox.net>
| refs.c | diff | blob | history | |
| refs.h | diff | blob | history |