summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-02 03:13:22 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-02 03:13:22 (GMT)
commitbbbc8c3a8d455e1f5d15c3764eba70250b5479e9 (patch)
tree4038fa5ccda139fa7d00494ec03b31b16184cd06
parent53069686601d156dea3787a100ffc4e35c78040f (diff)
downloadgit-bbbc8c3a8d455e1f5d15c3764eba70250b5479e9.zip
git-bbbc8c3a8d455e1f5d15c3764eba70250b5479e9.tar.gz
git-bbbc8c3a8d455e1f5d15c3764eba70250b5479e9.tar.bz2
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>
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index cdd29c5..728b6d1 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) {