skip a deleted empty file during git diff parsing

Review Request #363 — Created April 20, 2008 and submitted

Information

Review Board SVN (deprecated)
trunk

Reviewers

So now the git parser will skip differences for:

 * new files with no content
 * file mode content with no content changes
 * deleted files with no content

It would be good to see those, but it barfs when trying to apply the empty diffs.
 
Git scmtool tests pass
david
  1. 
      
  2. trunk/reviewboard/scmtools/git.py (Diff revision 2)
     
     
     
     
    Now that this is in parentheses, you don't need the continuation marks (\).  In fact, it's better python style to use () instead of \ in general.
    1. updated!
    2. Looks good.  Committed as r1309.  Thanks!
  3. 
      
Loading...