]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/remote.c
Merge branch 'ps/update-ref-trans-hook-doc'
[thirdparty/git.git] / builtin / remote.c
index d11a5589e49dcc9ea06663c422154855f9ad529b..717b662d4554f73621a9e173c18e78b189d45165 100644 (file)
@@ -221,7 +221,7 @@ static int add(int argc, const char **argv)
 
        if (fetch_tags != TAGS_DEFAULT) {
                strbuf_reset(&buf);
-               strbuf_addf(&buf, "remote.%s.tagopt", name);
+               strbuf_addf(&buf, "remote.%s.tagOpt", name);
                git_config_set(buf.buf,
                               fetch_tags == TAGS_SET ? "--tags" : "--no-tags");
        }
@@ -746,7 +746,7 @@ static int mv(int argc, const char **argv)
                }
                if (info->push_remote_name && !strcmp(info->push_remote_name, rename.old_name)) {
                        strbuf_reset(&buf);
-                       strbuf_addf(&buf, "branch.%s.pushremote", item->string);
+                       strbuf_addf(&buf, "branch.%s.pushRemote", item->string);
                        git_config_set(buf.buf, rename.new_name);
                }
        }