[openstack-dev] gertty and git diff -U problem

Neil Jerram Neil.Jerram at metaswitch.com
Sun Feb 28 19:33:29 UTC 2016

I've just tried to start using gertty, installed in a virtualenv using 'pip install gertty' - which means I have version 1.3.1.

When I try to look at any Diff, though, I get a traceback ending with:

git.exc.GitCommandError: 'git diff --color=never -U 10000 [...]' returned with exit code 128
stderr: 'fatal: ambiguous argument '10000': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>] -- [<file>...]'

Any recommendations for getting past this? I think it's to do with git-diff not liking the space between -U and 10000.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160228/587294d5/attachment.html>

More information about the OpenStack-dev mailing list