Merge branch 'jp/string-list-api-cleanup' into jn/grep-open
[gitweb.git] / builtin / shortlog.c
index 86d32fb7ffdb5ce6523152b80ebbc71979f887f6..0a9681ba7ece52e751b1b54d53f3e8fb4c19464e 100644 (file)
@@ -115,7 +115,7 @@ static void insert_one_record(struct shortlog *log,
                }
        }
 
-       string_list_append(buffer, item->util);
+       string_list_append(item->util, buffer);
 }
 
 static void read_from_stdin(struct shortlog *log)