Fix sizeof usage in get_permutations
commitbdd478d620034dc6517aea940f5dc6b88f780c04
authorMatthew Daley <mattjd@gmail.com>
Thu, 13 Dec 2012 13:36:30 +0000 (14 02:36 +1300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Dec 2012 19:13:44 +0000 (13 11:13 -0800)
tree85d0bc53838a77d4160a1efa70d118bcc3bb2537
parent75940a001acb0c09abea8ac71ed1568ab125c795
Fix sizeof usage in get_permutations

Currently it gets the size of an otherwise unrelated, unused variable
instead of the expected struct size.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-redundant.c