diff options
| author | Michael Schubert <schu@schu.io> | 2012-10-09 21:49:48 +0200 |
|---|---|---|
| committer | Michael Schubert <schu@schu.io> | 2012-10-09 21:50:04 +0200 |
| commit | 0cf49e1017427809278877788ed750fea1456bd2 (patch) | |
| tree | 231300068af505314e891c7514c3d1221b28bd95 /src/pack-objects.h | |
| parent | 0a32dca5ecbd4c56b02ba78af4174ac7f65a786c (diff) | |
| download | libgit2-0cf49e1017427809278877788ed750fea1456bd2.tar.gz | |
fixup! gsoc-pack-objects WIP
Use khash instead of git.git's hashing algorithm.
Diffstat (limited to 'src/pack-objects.h')
| -rw-r--r-- | src/pack-objects.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pack-objects.h b/src/pack-objects.h index 971b30217..8e8012689 100644 --- a/src/pack-objects.h +++ b/src/pack-objects.h @@ -12,6 +12,7 @@ #include "buffer.h" #include "hash.h" +#include "oidmap.h" #include "git2/oid.h" @@ -60,9 +61,7 @@ struct git_packbuilder { git_pobject *object_list; - int *object_ix; - int object_ix_hashsz; - + git_oidmap *object_ix; git_oid pack_oid; /* hash of written pack */ |
