diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-26 00:14:22 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-26 00:14:22 -0800 |
commit | 2db511fdbdbe1c8aab80f4bc13f0df037bce8a33 (patch) | |
tree | 23350997a56089356ccaeaa923a783378c198bf6 /cache.h | |
parent | b8d97d07fd5025232cae74cfc9a555abd9ac390e (diff) | |
parent | 81fa145917c40b68a5e2cca6afc6a10cdfdbd25b (diff) | |
download | git-2db511fdbdbe1c8aab80f4bc13f0df037bce8a33.tar.gz git-2db511fdbdbe1c8aab80f4bc13f0df037bce8a33.tar.xz |
Merge branch 'maint'
* maint:
Documentation/git-am.txt: Pass -r in the example invocation of rm -f .dotest
timezone_names[]: fixed the tz offset for New Zealand.
filter-branch documentation: non-zero exit status in command abort the filter
rev-parse: fix potential bus error with --parseopt option spec handling
Use a single implementation and API for copy_file()
Documentation/git-filter-branch: add a new msg-filter example
Correct fast-export file mode strings to match fast-import standard
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -698,6 +698,7 @@ extern const char *git_log_output_encoding; /* IO helper functions */ extern void maybe_flush_or_die(FILE *, const char *); extern int copy_fd(int ifd, int ofd); +extern int copy_file(const char *dst, const char *src, int mode); extern int read_in_full(int fd, void *buf, size_t count); extern int write_in_full(int fd, const void *buf, size_t count); extern void write_or_die(int fd, const void *buf, size_t count); |