diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-06-13 23:00:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-13 23:00:51 -0700 |
commit | 6483925999cde47e5108414ac3f57760394ee2d2 (patch) | |
tree | b44b7d8905c1f1239243d9a02f27cc04ff113164 /cache.h | |
parent | 43d60d2e59cb466717290984becc8687fc632ca1 (diff) | |
download | git-6483925999cde47e5108414ac3f57760394ee2d2.tar.gz |
sha1_file.c: dead code removal
write_sha1_from_fd() and write_sha1_to_fd() were dead code nobody called,
neither the latter's helper repack_object() was.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -536,9 +536,6 @@ extern int force_object_loose(const unsigned char *sha1, time_t mtime); extern int check_sha1_signature(const unsigned char *sha1, void *buf, unsigned long size, const char *type); -extern int write_sha1_from_fd(const unsigned char *sha1, int fd, char *buffer, - size_t bufsize, size_t *bufposn); -extern int write_sha1_to_fd(int fd, const unsigned char *sha1); extern int move_temp_to_file(const char *tmpfile, const char *filename); extern int has_sha1_pack(const unsigned char *sha1, const char **ignore); |