[PATCH 1/2] cherry: read default config
- From
Jeff King <peff@peff.net>
- Date
- Aug 4, 2011, 22:49 UTC
- Message-ID
- <20110804224918.GA28215@sigill.intra.peff.net>
- In-Reply-To
- <20110804224848.GA27545@sigill.intra.peff.net>
We don't currently read the config at all for git-cherry. This doesn't seem to cause any issues so far, because what it does is so simple that none of the configuration matters.
However, the next patch will add a relevant config option.
Signed-off-by: Jeff King <peff@peff.net> --- builtin/log.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/builtin/log.c b/builtin/log.c index 5c2af59..f385fb8 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -1438,6 +1438,8 @@ int cmd_cherry(int argc, const char **argv, const char *prefix) OPT_END() }; + git_config(git_default_config, NULL); + argc = parse_options(argc, argv, prefix, options, cherry_usage, 0); switch (argc) {
-- 1.7.6.34.g86521e