summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-04-29 12:59:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-29 12:59:07 -0700
commit60b3e9b959f4423f6927ef77e7097bea3ad24e45 (patch)
tree76fe47781a43ebdc202c55dbf0493813ab8d33b4
parentMerge branch 'sb/mv-submodule-fix' (diff)
parentreplace --edit: respect core.editor (diff)
downloadtgif-60b3e9b959f4423f6927ef77e7097bea3ad24e45.tar.xz
Merge branch 'js/replace-edit-use-editor-configuration'
"git replace -e" did not honour "core.editor" configuration. * js/replace-edit-use-editor-configuration: replace --edit: respect core.editor
-rw-r--r--builtin/replace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/replace.c b/builtin/replace.c
index 748c6ca954..b58c714cb8 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);