Skip to content

Commit

Permalink
revision: --max-age alone does not need limit_list() anymore.
Browse files Browse the repository at this point in the history
This makes git log --since=7.days to be streamable.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Apr 2, 2006
1 parent 5306968 commit bbbc8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bbbc8c3

Please sign in to comment.