summaryrefslogtreecommitdiff
path: root/src/filebuf.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2012-11-13 14:57:35 -0600
committerEdward Thomson <ethomson@microsoft.com>2012-11-13 14:57:35 -0600
commit2a612fe3c31f2c386236ccb1483741835a5db318 (patch)
treed96c5f34f3da0efe666236b8f26807d1f609c0bd /src/filebuf.h
parenta8527429dc48ce0f9b63789715ed8eaa9b1abf0d (diff)
downloadlibgit2-2a612fe3c31f2c386236ccb1483741835a5db318.tar.gz
filebuf now has a git_hash_ctx instead of a ctx*
Diffstat (limited to 'src/filebuf.h')
-rw-r--r--src/filebuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filebuf.h b/src/filebuf.h
index a74bb0ce1..dcaad9bd8 100644
--- a/src/filebuf.h
+++ b/src/filebuf.h
@@ -31,7 +31,8 @@ struct git_filebuf {
int (*write)(struct git_filebuf *file, void *source, size_t len);
- git_hash_ctx *digest;
+ bool compute_digest;
+ git_hash_ctx digest;
unsigned char *buffer;
unsigned char *z_buf;