Merge branch 'jk/revision-walk-stop-at-max-count'
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 19:56:30 +0000 (12:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 19:56:30 +0000 (12:56 -0700)
commitd05e56ea67743b68336aede7f4c42fece7ae764c
treef3381bdf4e73a082584eef9dc8ea392d4dc08396
parenta3ad9a0f8d57cb0c98adc541ea1de1cc1081cf14
parentb72a1904aefb9e27014a11790f3af4dc90b38e8d
Merge branch 'jk/revision-walk-stop-at-max-count'

"git log -n 1 -- rarely-touched-path" was spending unnecessary
cycles after showing the first change to find the next one, only to
discard it.

* jk/revision-walk-stop-at-max-count:
  revision: avoid work after --max-count is reached
revision.c