repack: make parsed string options const-correct
commitaa8bd519dbf044f4b54a365c9c80c6eb9a1ee2ea
authorJeff King <peff@peff.net>
Thu, 23 Jan 2014 01:28:30 +0000 (22 20:28 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jan 2014 18:34:51 +0000 (23 10:34 -0800)
tree381f0d2d71def96996367b6c2c71294a36449d78
parent44b96ecaa84b1de72a57e27143bf9aca75f251b9
repack: make parsed string options const-correct

When we use OPT_STRING to parse an option, we get back a
pointer into the argv array, which should be "const char *".
The compiler doesn't notice because it gets passed through a
"void *" in the option struct.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c