tokuhirom / Minilla

Authorizing tool for CPAN modules
https://metacpan.org/release/Minilla
Other
98 stars 65 forks source link

Use '--cleanup=verbatim' option with commit not to erase empty line in diff output. #281

Closed kaz-utashiro closed 4 years ago

kaz-utashiro commented 4 years ago

When "Changes" file diff happens to end with empty lines, they are removed by commit command and consequently produce technically inaccurate data. It also removes trailing spaces at the end of line.

This fix should work fine but "git show/log" command still removes whitespaces before producing output. It has to be addressed someway but now I can only think of using "git cat-file" to check.