Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (17 sloc) 0.49 kb
5d23e13 Refactor patch-id filtering out of git-cherry and git-format-patch.
Junio C Hamano authored
1 #ifndef PATCH_IDS_H
2 #define PATCH_IDS_H
3
4 struct patch_id {
5 unsigned char patch_id[20];
6 char seen;
7 };
8
9 struct patch_ids {
10 struct diff_options diffopts;
11 int nr, alloc;
12 struct patch_id **table;
13 struct patch_id_bucket *patches;
14 };
15
16 int init_patch_ids(struct patch_ids *);
17 int free_patch_ids(struct patch_ids *);
18 struct patch_id *add_commit_patch_id(struct commit *, struct patch_ids *);
19 struct patch_id *has_commit_patch_id(struct commit *, struct patch_ids *);
20
21 #endif /* PATCH_IDS_H */
Something went wrong with that request. Please try again.