diff mbox series

[5/6] fixup! commit: ignore additional signatures when parsing signed commits

Message ID 20210111003740.1319996-6-sandals@crustytoothpaste.net (mailing list archive)
State Superseded
Headers show
Series Support for commits signed by multiple algorithms | expand

Commit Message

brian m. carlson Jan. 11, 2021, 12:37 a.m. UTC
---
 commit.c | 1 -
 1 file changed, 1 deletion(-)

Comments

brian m. carlson Jan. 11, 2021, 12:43 a.m. UTC | #1
On 2021-01-11 at 00:37:38, brian m. carlson wrote:
> ---
>  commit.c | 1 -
>  1 file changed, 1 deletion(-)
> 

Please ignore this patch.  I squashed it in, but neglected to clean my
patches directory before sending.  My apologies for the error.
diff mbox series

Patch

diff --git a/commit.c b/commit.c
index 7bbab5add4..23020c0bca 100644
--- a/commit.c
+++ b/commit.c
@@ -1058,7 +1058,6 @@  int parse_buffer_signed_by_header(const char *buffer,
 	int in_signature = 0, saw_signature = 0, other_signature = 0;
 	const char *line, *tail, *p;
 	const char *gpg_sig_header = gpg_sig_headers[hash_algo_by_ptr(algop)];
-	int gpg_sig_header_len = strlen(gpg_sig_header);
 
 	line = buffer;
 	tail = buffer + size;