diff options
author | Xiaolong Ye <xiaolong.ye@intel.com> | 2016-04-26 15:51:21 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-26 10:49:57 -0700 |
commit | ded2c097bae67e00f8b4f3f777a516254207ca15 (patch) | |
tree | ee389ffe8d5a76213d690bef3645f1661b95a272 /patch-ids.h | |
parent | Git 2.8 (diff) | |
download | tgif-ded2c097bae67e00f8b4f3f777a516254207ca15.tar.xz |
patch-ids: make commit_patch_id() a public helper function
Make commit_patch_id() available to other builtins.
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'patch-ids.h')
-rw-r--r-- | patch-ids.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/patch-ids.h b/patch-ids.h index c8c7ca110a..eeb56b307f 100644 --- a/patch-ids.h +++ b/patch-ids.h @@ -13,6 +13,8 @@ struct patch_ids { struct patch_id_bucket *patches; }; +int commit_patch_id(struct commit *commit, struct diff_options *options, + unsigned char *sha1); int init_patch_ids(struct patch_ids *); int free_patch_ids(struct patch_ids *); struct patch_id *add_commit_patch_id(struct commit *, struct patch_ids *); |