[PATCH] Fix sizeof usage in get_permutations

2012-12-13 Thread Matthew Daley
Currently it gets the size of an otherwise unrelated, unused variable instead of the expected struct size. Signed-off-by: Matthew Daley mat...@gmail.com --- builtin/pack-redundant.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/pack-redundant.c

Re: [PATCH] Fix sizeof usage in get_permutations

2012-12-13 Thread Joachim Schmitz
Matthew Daley wrote: Currently it gets the size of an otherwise unrelated, unused variable instead of the expected struct size. Signed-off-by: Matthew Daley mat...@gmail.com --- builtin/pack-redundant.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] Fix sizeof usage in get_permutations

2012-12-13 Thread Junio C Hamano
Thanks; it shows how rarely this obscure tool is used these days. -- 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

Re: [PATCH] Fix sizeof usage in get_permutations

2012-12-13 Thread Felipe Contreras
On Thu, Dec 13, 2012 at 10:13 AM, Joachim Schmitz j...@schmitz-digital.de wrote: Matthew Daley wrote: Currently it gets the size of an otherwise unrelated, unused variable instead of the expected struct size. Signed-off-by: Matthew Daley mat...@gmail.com --- builtin/pack-redundant.c |6