aboutsummaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2026-03-12 20:39:36 -0500
committerJunio C Hamano <gitster@pobox.com>2026-03-12 21:28:19 -0700
commit233545cc60315863fea3fa17e2df86de23a6a4f7 (patch)
tree10375fa2565d8255937b8b706d803a88a2ad2028 /commit.h
parentd181b9354cf85b44455ce3ca9e6af0b9559e0ae2 (diff)
downloadgit-233545cc60315863fea3fa17e2df86de23a6a4f7.tar.xz
commit: remove unused forward declaration
In 6206089cbd (commit: write commits for both hashes, 2023-10-01), `sign_with_header()` was removed, but its forward declaration in "commit.h" was left. Remove the unused declaration. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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,