Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pull: ff --rebase --autostash works in dirty repo
[gitweb.git]
/
patch-ids.c
diff --git
a/patch-ids.c
b/patch-ids.c
index ce285c2e0c552ecf725c87052846d755507bd9db..fa8f11de82657c3edf4e5c0869d76ae6f12b57bb 100644
(file)
--- a/
patch-ids.c
+++ b/
patch-ids.c
@@
-71,7
+71,7
@@
static int init_patch_id_entry(struct patch_id *patch,
struct commit *commit,
struct patch_ids *ids)
{
- unsigned char header_only_patch_id[GIT_
SHA1
_RAWSZ];
+ unsigned char header_only_patch_id[GIT_
MAX
_RAWSZ];
patch->commit = commit;
if (commit_patch_id(commit, &ids->diffopts, header_only_patch_id, 1))