Files
deb-python-pygit2/test/test_blame.py
Adam Spiers 749810ac77 fix blame argument handling
The argument handling for the new Repository_blame had several problems:

- The call to PyArg_ParseTupleAndKeywords was missing &path, so none
  of the optional arguments got parsed correctly.
- newest_commit and oldest_commit were missing type validation
  against OidType.
- The opts structure was discarded rather than passed to git_blame_file.

This commit fixes these issues and adds a test case.
2013-12-09 12:03:32 +00:00

5.3 KiB