Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Close files opened by lock_file() before unlinking.
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index 33ebccf48d0d8963ab5b262bfb87312e6542ed75..dc75f9d343bd0b22398796a888c4d7088c3de71a 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-290,6
+290,7
@@
extern int refresh_index(struct index_state *, unsigned int flags, const char **
struct lock_file {
struct lock_file *next;
+ int fd;
pid_t owner;
char on_list;
char filename[PATH_MAX];