LFS uploaded images should present 0 additions and 0 deletions statistics
Summary
Image LFS references are considered as text lines, therefore additions statistics is increased.
Steps to reproduce
- Track a image with LFS
- Push to a merge request
- Open MR diffs
What is the current bug behavior?
You'll see 3 additions per image file.
What is the expected correct behavior?
0 additions per image file.
Possible fixes
There's a common interface for using the diff stat collection. I believe we could iterate on the collection (each
method), adjusting by filetype (enforcing 0/0 statistics).
Edited by Oswaldo Ferreira