diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/remote.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/builtin/remote.c b/builtin/remote.c index 180da895be..659c6ab71e 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -682,6 +682,12 @@ static int mv(int argc, const char **argv) ptr-buf2.buf + strlen(":refs/remotes/"), strlen(rename.old), rename.new, strlen(rename.new)); + else + warning("Not updating non-default fetch respec\n" + "\t%s\n" + "\tPlease update the configuration manually if necessary.", + buf2.buf); + if (git_config_set_multivar(buf.buf, buf2.buf, "^$", 0)) return error("Could not append '%s'", buf.buf); } |