summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-06-01 23:43:21 -0700
committerJunio C Hamano <gitster@pobox.com>2008-06-01 23:43:21 -0700
commitd8ad63aff0c494898f95aefb12fef25514ba7413 (patch)
tree62bcd0e4ae2cfcf04709da069bb9b5d65043bda1 /cache.h
parenta44a5c006e38fc3dd3f093c730aefcfe48a0eb08 (diff)
parent54352bb2742cfbe53fa820eab53607a46d349ae4 (diff)
downloadgit-d8ad63aff0c494898f95aefb12fef25514ba7413.tar.gz
Merge branch 'lt/pack-sync'
* lt/pack-sync: Remove now unnecessary 'sync()' calls Make pack creation always fsync() the result
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index eab1a172fe..092a997b07 100644
--- a/cache.h
+++ b/cache.h
@@ -761,6 +761,7 @@ extern ssize_t write_in_full(int fd, const void *buf, size_t count);
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);
extern int write_or_whine_pipe(int fd, const void *buf, size_t count, const char *msg);
+extern void fsync_or_die(int fd, const char *);
/* pager.c */
extern void setup_pager(void);