diff options
author | Vincent Driessen <me@nvie.com> | 2016-04-13 14:52:18 +0200 |
---|---|---|
committer | Vincent Driessen <me@nvie.com> | 2016-04-13 16:44:17 +0200 |
commit | e5b8220a1a967abdf2bae2124e3e22a9eea3729f (patch) | |
tree | 4d10bd3b123dd8321d6024665e323c00fa86b011 /git/diff.py | |
parent | 9debf6b0aafb6f7781ea9d1383c86939a1aacde3 (diff) | |
download | gitpython-e5b8220a1a967abdf2bae2124e3e22a9eea3729f.tar.gz |
Add incremental blame support
This adds a sibling method to Repo's blame method:
Repo.blame_incremental(rev, path, **kwargs)
This can alternatively be called using:
Repo.blame(rev, path, incremental=True)
The main difference is that blame incremental is a bit more efficient
and does not return the full file's contents, just the commits and the
line number ranges. The parser is a bit more straight-forward and
faster since the incremental output format is defined a little stricter.
Diffstat (limited to 'git/diff.py')
0 files changed, 0 insertions, 0 deletions