[PATCH] Avoid wasting memory in git-rev-list
[git/git.git] / rev-list.c
index 2d97cdb..96aa342 100644 (file)
@@ -582,6 +582,8 @@ int main(int argc, char **argv)
                handle_one_commit(commit, &list);
        }
 
+       save_commit_buffer = verbose_header;
+
        if (!merge_order) {             
                sort_by_date(&list);
                if (limited)