Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
replace --edit: respect core.editor
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Wed, 20 Apr 2016 06:38:03 +0000
(08:38 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 20 Apr 2016 16:11:36 +0000
(09:11 -0700)
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/replace.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
e465796
)
diff --git
a/builtin/replace.c
b/builtin/replace.c
index 6b3c469a331e62e13fb6f9626ee5a64f28747c06..15bec80b7ddc04eff032ecb73c2191436f131835 100644
(file)
--- 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);