]> git.ipfire.org Git - thirdparty/git.git/blobdiff - reflog-walk.c
reflog-walk: duplicate strings in complete_reflogs list
[thirdparty/git.git] / reflog-walk.c
index f7ffd1caa3ced247a3da271f478a942ff59b4bd8..aec718beba8ae58860759f311a5f8b41c2b78010 100644 (file)
@@ -136,6 +136,7 @@ struct reflog_walk_info {
 void init_reflog_walk(struct reflog_walk_info **info)
 {
        *info = xcalloc(1, sizeof(struct reflog_walk_info));
+       (*info)->complete_reflogs.strdup_strings = 1;
 }
 
 int add_reflog_for_walk(struct reflog_walk_info *info,