Fix order of checks in git diff parsing.

Review Request #5523 — Created Feb. 21, 2014 and submitted

Information

Review Board
release-2.0.x
ad55cb2...

Reviewers

One of our old review requests was causing an exception where it was indexing
past the end of the diff. The issue here is that we added code to check for
new file/moved file/mode change state, but that code was added above the index
check instead of below it.

Loaded the review request that was causing the error. Before this change, it
caused an exception. After, it loads fine.

chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (b4dcb43).
Loading...