diff --git a/gertty/gitrepo.py b/gertty/gitrepo.py index 8587fe7..9028c86 100644 --- a/gertty/gitrepo.py +++ b/gertty/gitrepo.py @@ -388,7 +388,7 @@ class Repo(object): extra_contexts.append(CommitContext(None, newc)) contexts = itertools.chain( extra_contexts, oldc.diff( - newc, color='never',create_patch=True, U=context)) + newc, color='never', create_patch=True, unified=context)) for diff_context in contexts: # Each iteration of this is a file f = DiffFile() diff --git a/requirements.txt b/requirements.txt index b07b170..848f6fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ pbr>=0.11,<2.0 urwid>=1.2.1,!=1.3.0 SQLAlchemy>=1.0.4 -GitPython>=0.3.7,<1.0.2 +GitPython>=0.3.7 python-dateutil requests>=2.5.3,<3.0.0 ordereddict