X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=csum-file.h;h=1af76562f31da89e4cd2592079edb9c6a45736e3;hb=2ce1a1f23fd83d2cab22f87aff1165fb0c7ad450;hp=4d1b231292ad4cfc7996b73ea31fa74a5eff2687;hpb=140dd77a5cb2e61dcb942e245a2474fae95e42a5;p=git.git diff --git a/csum-file.h b/csum-file.h index 4d1b23129..1af76562f 100644 --- a/csum-file.h +++ b/csum-file.h @@ -5,11 +5,12 @@ struct progress; /* A SHA1-protected file */ struct sha1file { - int fd, error; - unsigned int offset, namelen; + int fd; + unsigned int offset; SHA_CTX ctx; + off_t total; struct progress *tp; - char name[PATH_MAX]; + const char *name; int do_crc; uint32_t crc32; unsigned char buffer[8192];