From: Stefan Beller Date: Sat, 28 Sep 2013 08:53:19 GMT Subject: Re: [PATCH] repack: Add --version parameter Message-ID: <524698FF.4020602@googlemail.com> In-Reply-To: On 09/26/2013 12:17 PM, Felipe Contreras wrote: > On Thu, Sep 26, 2013 at 3:32 AM, Stefan Beller >> static const char *const git_repack_usage[] = { >> @@ -22,6 +23,9 @@ static int repack_config(const char *var, const char *value, void *cb) >> delta_base_offset = git_config_bool(var, value); >> return 0; >> } >> + if (!strcmp(var, "core.preferredPackVersion")) { >> + pack_version = git_config_int(var, value); >> + } > > The style is without braces if the block is a single line. > Thanks for spotting, I should have put a "return 0;" there. Stefan