diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-03-12 03:27:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 17:23:48 +0100 |
commit | 015ff4f8225841d791c9940d71ebbce82c978a3c (patch) | |
tree | 947a476d1e9cd005038eab7cf0acb0b9a84dfeed /archive.h | |
parent | builtin/mktag: convert to struct object_id (diff) | |
download | git-015ff4f8225841d791c9940d71ebbce82c978a3c.tar.xz git-015ff4f8225841d791c9940d71ebbce82c978a3c.zip |
archive: convert write_archive_entry_fn_t to object_id
Convert the write_archive_entry_fn_t type to use a pointer to struct
object_id. Convert various static functions in the tar and zip
archivers also.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ extern void init_tar_archiver(void); extern void init_zip_archiver(void); typedef int (*write_archive_entry_fn_t)(struct archiver_args *args, - const unsigned char *sha1, + const struct object_id *oid, const char *path, size_t pathlen, unsigned int mode); |