aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-24 12:31:31 -0700
committerJunio C Hamano <gitster@pobox.com>2026-03-24 12:31:31 -0700
commit410ab9a25727a866b16c5de3314d33530d2498f7 (patch)
tree4f2bf336890e77cc89f791212b146c2229c8f639 /commit.h
parent1080981ddb03a072f1e6b55c6325c2af731e733c (diff)
parentee66c793f84ef1c84ec3fe732bb26394ebefd257 (diff)
downloadgit-410ab9a25727a866b16c5de3314d33530d2498f7.tar.xz
Merge branch 'jt/fast-import-sign-again'
"git fast-import" learned to optionally replace signature on commits whose signatures get invalidated due to replaying by signing afresh. * jt/fast-import-sign-again: fast-import: add mode to sign commits with invalid signatures gpg-interface: allow sign_buffer() to use default signing key commit: remove unused forward declaration
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/commit.h b/commit.h
index f2f39e1a89..e9dee8d26b 100644
--- a/commit.h
+++ b/commit.h
@@ -400,8 +400,6 @@ LAST_ARG_MUST_BE_NULL
int run_commit_hook(int editor_is_used, const char *index_file,
int *invoked_hook, const char *name, ...);
-/* Sign a commit or tag buffer, storing the result in a header. */
-int sign_with_header(struct strbuf *buf, const char *keyid);
/* Parse the signature out of a header. */
int parse_buffer_signed_by_header(const char *buffer,
unsigned long size,