git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e465796
)
replace --edit: respect core.editor
author
Johannes Schindelin
<redacted>
Wed, 20 Apr 2016 06:38:03 +0000
(08:38 +0200)
committer
Junio C Hamano
<redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/replace.c
patch
|
blob
|
history
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);
git clone https://git.99rst.org/PROJECT