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>

Justin Tobler committed Mar 12, 2026 at 20:39 UTC 233545cc60315863fea3fa17e2df86de23a6a4f7
1 file changed -2
commit.h
-2
@@ -400,8 +400,6 @@ LAST_ARG_MUST_BE_NULL
400 int run_commit_hook(int editor_is_used, const char *index_file,
401 int *invoked_hook, const char *name, ...);
402
403 -/* Sign a commit or tag buffer, storing the result in a header. */
404 -int sign_with_header(struct strbuf *buf, const char *keyid);
403 /* Parse the signature out of a header. */
404 int parse_buffer_signed_by_header(const char *buffer,
405 unsigned long size,