Git client: properly handle deleted files when making SVN-compatible diff
Review Request #6396 — Created Oct. 2, 2014 and submitted
When deleting a file, git-diff outputs "+++ /dev/null" and "deleted file mode", neither of which are understood by SVN. Rather, SVN expects the new filename to be the same as the deleted one. This is important when doing file renames or deletions when using git-svn.
Successfully used this code to post a review for a basic set of file renames (~10 files). Posted to RB 1.6 and it seemed to be happy.
Description | From | Last Updated |
---|---|---|
Col: 80 E501 line too long (90 > 79 characters) |
reviewbot |
JR
- Change Summary:
-
Fix too long line
- Commit:
-
e1164467d0ebd592eaa229a6aa2a5e948656094bd0a77909cd646b7681b5fa9bc1d2af36a73f97c3
- Diff:
-
Revision 2 (+6 -3)