Closed
Description
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'groups'
Exception Location: /usr/local/lib/python2.6/dist-packages/git/diff.py in _index_from_patch_format, line 301
Python Executable: /usr/bin/python
Python Version: 2.6.6
this happens when trying to "Swap two inputs" .
commit = repo.commit()
diff = commit.diff('HEAD~1', create_patch=True, R=True)