diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-09-10 12:35:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-10 12:50:58 -0700 |
commit | fd17f5b5f77716bf90098c6e49e3cf7fd9f56306 (patch) | |
tree | 7b6ed050e8283c9fe80d0c8229281de4bed4dccf /cache.h | |
parent | 635d043f30c60f5ec8121bd94304e529f90407c7 (diff) | |
download | git-fd17f5b5f77716bf90098c6e49e3cf7fd9f56306.tar.gz git-fd17f5b5f77716bf90098c6e49e3cf7fd9f56306.tar.xz |
Replace all read_fd use with strbuf_read, and get rid of it.
This brings builtin-stripspace, builtin-tag and mktag to use strbufs.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -269,7 +269,6 @@ extern int ie_match_stat(struct index_state *, struct cache_entry *, struct stat extern int ie_modified(struct index_state *, struct cache_entry *, struct stat *, int); extern int ce_path_match(const struct cache_entry *ce, const char **pathspec); extern int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_object, enum object_type type, const char *path); -extern int read_fd(int fd, char **return_buf, unsigned long *return_size); extern int index_pipe(unsigned char *sha1, int fd, const char *type, int write_object); extern int index_path(unsigned char *sha1, const char *path, struct stat *st, int write_object); extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st); |