]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Merge branch 'sp/mmap'
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index a5fc23235ea57cc562074276845e23608eea4960..36be64e3868456b11bc9a6024be5e955074241b2 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -179,6 +179,7 @@ extern int refresh_cache(unsigned int flags);
 
 struct lock_file {
        struct lock_file *next;
+       char on_list;
        char filename[PATH_MAX];
 };
 extern int hold_lock_file_for_update(struct lock_file *, const char *path, int);
@@ -432,6 +433,7 @@ extern char *git_log_output_encoding;
 
 extern int copy_fd(int ifd, int ofd);
 extern void read_or_die(int fd, void *buf, size_t count);
+extern int write_in_full(int fd, const void *buf, size_t count, const char *);
 extern void write_or_die(int fd, const void *buf, size_t count);
 extern int write_or_whine(int fd, const void *buf, size_t count, const char *msg);