Merge branch 'js/rebase-reflog-action-fix'
[gitweb.git] / pack-bitmap-write.c
index 198fd13097a7e45c0cf04495b39f7f5c11a47cb3..9d1b951697e9552b80a502fd587e43b615369635 100644 (file)
@@ -11,6 +11,7 @@
 #include "pack-bitmap.h"
 #include "sha1-lookup.h"
 #include "pack-objects.h"
+#include "commit-reach.h"
 
 struct bitmapped_commit {
        struct commit *commit;
@@ -36,7 +37,7 @@ struct bitmap_writer {
 
        struct progress *progress;
        int show_progress;
-       unsigned char pack_checksum[20];
+       unsigned char pack_checksum[GIT_MAX_RAWSZ];
 };
 
 static struct bitmap_writer writer;