From: Junio C Hamano Date: Sun, 2 Apr 2006 03:13:22 +0000 (-0800) Subject: revision: --max-age alone does not need limit_list() anymore. X-Git-Tag: v1.3.0-rc2~16 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bbbc8c3a8d455e1f5d15c3764eba70250b5479e9;p=git.git 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 --- diff --git a/revision.c b/revision.c index cdd29c5f..728b6d11 100644 --- a/revision.c +++ b/revision.c @@ -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) {