make reflog filename independent from struct ref_lock

This allows for ref_log_write() to be used in a more flexible way,
and is needed for future changes.

This is only code reorg with no behavior change.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Nicolas Pitre
2007-01-26 17:26:05 -05:00
committed by Junio C Hamano
parent 1b600e659a
commit 9a13f0b71b
3 changed files with 26 additions and 25 deletions

1
refs.h
View File

@ -3,7 +3,6 @@
struct ref_lock {
char *ref_name;
char *log_file;
struct lock_file *lk;
unsigned char old_sha1[20];
int lock_fd;