From 36b14370dbafbe6682ea6b21c8de012253bff451 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 20 Apr 2016 08:38:03 +0200 Subject: 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 --- builtin/replace.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1