lockfile: rename LOCK_NODEREF to LOCK_NO_DEREF
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 414e93ca6be2e1a3429d2ee13427a276bc4ef4a5..7ea4e81257f02c929f967f92e9098ee487c121f0 100644 (file)
--- a/cache.h
+++ b/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);