Re: [PATCH 3/3] repack: propagate pack-objects options as strings

2014-01-22 Thread Jeff King
On Wed, Jan 22, 2014 at 08:30:13PM -0500, Jeff King wrote: > - OPT_INTEGER(0, "window", &window, > + OPT_STRING(0, "window", &window, N_("n"), > N_("size of the window used for delta > compression")), By the way, the old code with OPT_INTEGER

[PATCH 3/3] repack: propagate pack-objects options as strings

2014-01-22 Thread Jeff King
In the original shell version of git-repack, any options destined for pack-objects were left as strings, and passed as a whole. Since the C rewrite in commit a1bbc6c (repack: rewrite the shell script in C, 2013-09-15), we now parse these values to integers internally, then reformat the integers whe