lockfile: rename LOCK_NODEREF to LOCK_NO_DEREF
This makes it harder to misread the name as LOCK_NODE_REF. Suggested-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
751bacedaa
commit
47ba4662bf
2
cache.h
2
cache.h
@ -583,7 +583,7 @@ struct lock_file {
|
||||
struct strbuf filename;
|
||||
};
|
||||
#define LOCK_DIE_ON_ERROR 1
|
||||
#define LOCK_NODEREF 2
|
||||
#define LOCK_NO_DEREF 2
|
||||
extern int unable_to_lock_error(const char *path, int err);
|
||||
extern void unable_to_lock_message(const char *path, int err,
|
||||
struct strbuf *buf);
|
||||
|
Reference in New Issue
Block a user