Changeset 4148

Show
Ignore:
Timestamp:
08/17/08 04:59:35 (5 months ago)
Author:
hvr
Message:

GitPlugin: make diff_tree handle empty changesets (fixes #2807 and #3410)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gitplugin/0.11/tracext/git/PyGIT.py

    r3275 r4148  
    634634        del lines[-1] 
    635635 
    636         if tree1 is None
     636        if tree1 is None and lines
    637637            # if only one tree-sha is given on commandline, 
    638638            # the first line is just the redundant tree-sha itself...