submodule: convert check_for_new_submodule_commits to object_id
[gitweb.git] / builtin / merge.c
index 7554b8d4127ada8261d1f913c6215e93ca42ef7d..a2cceea3fb0f45372cc113eeb335756b44c9eed0 100644 (file)
@@ -1296,7 +1296,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
        if (verify_signatures) {
                for (p = remoteheads; p; p = p->next) {
                        struct commit *commit = p->item;
-                       char hex[GIT_SHA1_HEXSZ + 1];
+                       char hex[GIT_MAX_HEXSZ + 1];
                        struct signature_check signature_check;
                        memset(&signature_check, 0, sizeof(signature_check));