revision: --max-age alone does not need limit_list() anymore.
authorJunio C Hamano <junkio@cox.net>
Sun, 2 Apr 2006 03:13:22 +0000 (19:13 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Apr 2006 03:13:22 +0000 (19:13 -0800)
This makes git log --since=7.days to be streamable.

Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c
index cdd29c5f52cda44bd4998aa56a9abd9ca4a29527..728b6d111dd3e11de6f5a6a0baa940d54d621e6a 100644 (file)
@@ -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) {