--- gitplugin/0.11/tracext/git/PyGIT.py 2008-02-26 21:59:03.433369000 +0100 +++ gitplugin-patched/0.11/tracext/git/PyGIT.py 2008-07-17 18:27:33.302074825 +0200 @@ -633,7 +654,7 @@ assert lines[-1] == "" del lines[-1] - if tree1 is None: + if tree1 is None and len(lines) > 0: # if only one tree-sha is given on commandline, # the first line is just the redundant tree-sha itself... assert not lines[0].startswith(':')