提交 7a662e89 编写于 作者: L Linus Torvalds

git-rev-list: make sure the output is sorted by recency

We didn't sort the refs by date, so if you had multiple refs, the end
result would not be properly sorted.
上级 7620d39f
......@@ -482,7 +482,7 @@ int main(int argc, char **argv)
commit = get_commit_reference(arg, flags);
if (!commit)
continue;
commit_list_insert(commit, &list);
insert_by_date(&list, commit);
}
if (!merge_order) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册