]> git.ipfire.org Git - thirdparty/git.git/blobdiff - help.c
pack-bitmap-write: use hashwrite_be32() in write_hash_cache()
[thirdparty/git.git] / help.c
diff --git a/help.c b/help.c
index d478afb2af2631857e2431e1d83e48114995ee00..4e2468a44dfe3154642299dbca0761ab114cb859 100644 (file)
--- a/help.c
+++ b/help.c
@@ -375,7 +375,7 @@ void list_cmds_by_config(struct string_list *list)
 {
        const char *cmd_list;
 
-       if (git_config_get_string_const("completion.commands", &cmd_list))
+       if (git_config_get_string_tmp("completion.commands", &cmd_list))
                return;
 
        string_list_sort(list);