]> git.ipfire.org Git - thirdparty/git.git/blobdiff - protocol.c
Merge branch 'hn/refs-ref-log-only-bit'
[thirdparty/git.git] / protocol.c
index d1dd3424bbaa56e21950e6b95a56fcde87cd5450..8d964fc65edcff60fe011d540211cb244a60032e 100644 (file)
@@ -21,7 +21,7 @@ enum protocol_version get_protocol_version_config(void)
        const char *git_test_k = "GIT_TEST_PROTOCOL_VERSION";
        const char *git_test_v;
 
-       if (!git_config_get_string_const("protocol.version", &value)) {
+       if (!git_config_get_string_tmp("protocol.version", &value)) {
                enum protocol_version version = parse_protocol_version(value);
 
                if (version == protocol_unknown_version)