• 
      

    Fix Git diffs containing tabs after the filename.

    Review Request #7397 — Created June 9, 2015 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    58533e3...

    Reviewers

    We found a case where a user had a generated Git diff that contained
    tabs after the filename, as if more data would follow. Our parser wasn't
    expecting this, and ended up including the tab along with the filename.
    
    Now, any extra whitespace around the filename is stripped away, allowing
    the files to be properly matched against the repository.

    The new unit test failed without the fix, and passed with it.