Code

[PATCH] control/limit output of git-rev-list
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 6 May 2005 08:00:11 +0000 (10:00 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 16:01:27 +0000 (09:01 -0700)
commitfcfda02bc7e3a9dacf63fa43df8eee530a471f96
tree77d1b2a9986b616db431f6c3908caf8d710b1b8a
parent22b781051bc1902b656708acbc51f39654ce969d
[PATCH] control/limit output of git-rev-list

gitweb.cgi's default view is the log of the last day and git-rev-list
can stop crawling the whole repo if we have all our data to display in the
browser. Also the rss-feed query needs only the last 20 items. This
will speeds up these queries dramatically.

  usage: rev-list [OPTION] commit-id
    --max-count=nr
    --max-age=epoch
    --min-age=epoch

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
rev-list.c