Commit chunk selection not respected for large files
Created originally on Bitbucket by cephiroth (Patrick)
Steps to reproduce
- Create a repository
- Add a file with content > maxdiff, commit it
- Modify 2 separate lines so that 2 chunks are committable
- On commit window click "Display the file anyway"
- Select only 1 of the two changed chunks, and commit
Expected
- Only the selected chunk is committed
Actual
- All chunks are committed