Commit a5ca836
blame: make sure that the last line ends in an LF
This is convenient when parsing multiple the blame of multiple files,
for example:
git ls-files -z --exclude-standard -- "*.[ch]" |
xargs --null -n 1 git blame -p > output
and then analyzing the 'output' file using a seperate script.
Currently the parsing is difficult when not all files have a newline
at EOF, this patch ensures that even such files have a newline at the
end of the blame output.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
CC: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 78d553b commit a5ca836
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
1607 | 1610 | | |
1608 | 1611 | | |
1609 | 1612 | | |
| |||
1667 | 1670 | | |
1668 | 1671 | | |
1669 | 1672 | | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
1670 | 1676 | | |
1671 | 1677 | | |
1672 | 1678 | | |
| |||
0 commit comments