提交 bbbc8c3a 编写于 作者: J Junio C Hamano

revision: --max-age alone does not need limit_list() anymore.

This makes git log --since=7.days to be streamable.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 53069686
......@@ -699,7 +699,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
add_one_commit(commit, revs);
}
if ((revs->max_age != -1) || revs->topo_order || revs->unpacked)
if (revs->topo_order || revs->unpacked)
revs->limited = 1;
if (revs->prune_data) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册