diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-01 23:43:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-01 23:43:21 -0700 |
commit | d8ad63aff0c494898f95aefb12fef25514ba7413 (patch) | |
tree | 62bcd0e4ae2cfcf04709da069bb9b5d65043bda1 /cache.h | |
parent | a44a5c006e38fc3dd3f093c730aefcfe48a0eb08 (diff) | |
parent | 54352bb2742cfbe53fa820eab53607a46d349ae4 (diff) | |
download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |