dart-lang/spark — pull request #902 by camfitz (2014-01-29 05:46:24+00:00)
Title: Adding paging functionality for log.

@gaurave

Small changes to log to allow for paging calls (particularly relevant for any decently long log files).
```
Log _gitLog = new Log();
_gitLog.log(_store, 1, _branch).then((List commits) { ... }
```
repeated calls to log in this manner will retrieve the commits in sequence, (1) at a time.

```
_gitLog.log(_store, null, _branch).then((List commits) { ... }
```
a call to log in this manner will retrieve all commits in sequence