Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-new-workdir: mark script as LF-only
[gitweb.git]
/
builtin
/
patch-id.c
diff --git
a/builtin/patch-id.c
b/builtin/patch-id.c
index a84d0003a3087c842b6eab6a987a93eebaddec79..81552e02e412b53fcb50ffa6a4d5949acdaac79c 100644
(file)
--- a/
builtin/patch-id.c
+++ b/
builtin/patch-id.c
@@
-55,7
+55,7
@@
static int scan_hunk_header(const char *p, int *p_before, int *p_after)
static void flush_one_hunk(struct object_id *result, git_SHA_CTX *ctx)
{
- unsigned char hash[GIT_
SHA1
_RAWSZ];
+ unsigned char hash[GIT_
MAX
_RAWSZ];
unsigned short carry = 0;
int i;