diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-10-19 22:06:28 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-10-21 17:16:58 -0700 |
commit | a5ca8367c223b154b485ea51dc8c97201498caa4 (patch) | |
tree | 8200d2abfc65f66dfe30f72b3a444062b7a9a515 /diff.h | |
parent | GIT 1.6.5 (diff) | |
download | tgif-a5ca8367c223b154b485ea51dc8c97201498caa4.tar.xz |
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>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions