summaryrefslogtreecommitdiff
path: root/patch-ids.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-23 14:54:31 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-23 14:54:31 -0700
commit72ce3ff7b51c1e0703f433fb000519521441abf8 (patch)
tree84a81f6bd529fe6d4236eabf9dca5e78b4cba07e /patch-ids.c
parent8e342255224f459ddff4d7f974161ae47d26d1d7 (diff)
parentbb52995f3ec7fac2b282a91af4230e4f387af234 (diff)
downloadgit-72ce3ff7b51c1e0703f433fb000519521441abf8.tar.gz
Merge branch 'xy/format-patch-base'
"git format-patch" learned a new "--base" option to record what (public, well-known) commit the original series was built on in its output. * xy/format-patch-base: format-patch: introduce format.useAutoBase configuration format-patch: introduce --base=auto option format-patch: add '--base' option to record base tree info patch-ids: make commit_patch_id() a public helper function
Diffstat (limited to 'patch-ids.c')
-rw-r--r--patch-ids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-ids.c b/patch-ids.c
index b7b3e5a1a7..a4d0016664 100644
--- a/patch-ids.c
+++ b/patch-ids.c
@@ -4,7 +4,7 @@
#include "sha1-lookup.h"
#include "patch-ids.h"
-static int commit_patch_id(struct commit *commit, struct diff_options *options,
+int commit_patch_id(struct commit *commit, struct diff_options *options,
unsigned char *sha1)
{
if (commit->parents)