Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lockfile: change lock_file::filename into a strbuf
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index c2ea6f15e6f5b7acf21abb95e7b1cd91a66473c6..f81d95fc3c6fa5c67a25a885e37fef2504e64f00 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-580,7
+580,7
@@
struct lock_file {
volatile int fd;
volatile pid_t owner;
char on_list;
-
char filename[PATH_MAX]
;
+
struct strbuf filename
;
};
#define LOCK_DIE_ON_ERROR 1
#define LOCK_NODEREF 2