revision: --max-age alone does not need limit_list() anymore.
This makes git log --since=7.days to be streamable. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
5306968660
commit
bbbc8c3a8d
@ -699,7 +699,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
|
|||||||
add_one_commit(commit, revs);
|
add_one_commit(commit, revs);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((revs->max_age != -1) || revs->topo_order || revs->unpacked)
|
if (revs->topo_order || revs->unpacked)
|
||||||
revs->limited = 1;
|
revs->limited = 1;
|
||||||
|
|
||||||
if (revs->prune_data) {
|
if (revs->prune_data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user