aboutsummaryrefslogtreecommitdiff
path: root/patch-ids.h
diff options
context:
space:
mode:
Diffstat (limited to 'patch-ids.h')
-rw-r--r--patch-ids.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/patch-ids.h b/patch-ids.h
index eeb56b307..9569ee0d2 100644
--- a/patch-ids.h
+++ b/patch-ids.h
@@ -2,15 +2,14 @@
#define PATCH_IDS_H
struct patch_id {
- unsigned char patch_id[20];
+ struct hashmap_entry ent;
+ unsigned char patch_id[GIT_SHA1_RAWSZ];
char seen;
};
struct patch_ids {
+ struct hashmap patches;
struct diff_options diffopts;
- int nr, alloc;
- struct patch_id **table;
- struct patch_id_bucket *patches;
};
int commit_patch_id(struct commit *commit, struct diff_options *options,