]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
pretty: make the skip_blank_lines() function public
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 22 Jun 2016 20:20:16 +0000 (22:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2016 20:23:56 +0000 (13:23 -0700)
commit77356122443039b4b65a7795d66b3d1fdeedcce8
tree103dea05a387fe15c1851aa2edebb2bc67087a33
parent765428699a5381f113d19974720bc91b5bfeaf1d
pretty: make the skip_blank_lines() function public

This function will be used also in the find_commit_subject()
function.

While at it, rename the function to reflect that it skips not only
empty lines, but any lines consisting of only whitespace, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.h
pretty.c