Jeff King <p...@peff.net> writes:

> diff --git a/builtin/merge-index.c b/builtin/merge-index.c
> index 1d66111..4ed0a83 100644
> --- a/builtin/merge-index.c
> +++ b/builtin/merge-index.c
> @@ -9,7 +9,7 @@ static int merge_entry(int pos, const char *path)
>  {
>       int found;
>       const char *arguments[] = { pgm, "", "", "", path, "", "", "", NULL };
> -     char hexbuf[4][60];
> +     char hexbuf[4][GIT_SHA1_HEXSZ + 1];
>       char ownbuf[4][60];

So you saved 19*4 = 76 bytes at runtime?

Looks good ;-).
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to