From: Johannes Schindelin Date: Wed, 20 Apr 2016 06:38:03 +0000 (+0200) Subject: replace --edit: respect core.editor X-Git-Tag: v2.8.3~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36b14370dbafbe6682ea6b21c8de012253bff451;p=thirdparty%2Fgit.git replace --edit: respect core.editor We simply need to read the config, is all. This fixes https://github.com/git-for-windows/git/issues/733 Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/builtin/replace.c b/builtin/replace.c index 6b3c469a33..15bec80b7d 100644 --- a/builtin/replace.c +++ b/builtin/replace.c @@ -440,6 +440,7 @@ int cmd_replace(int argc, const char **argv, const char *prefix) }; check_replace_refs = 0; + git_config(git_default_config, NULL); argc = parse_options(argc, argv, prefix, options, git_replace_usage, 0);