From: Junio C Hamano Date: Thu, 28 Jul 2016 18:25:50 +0000 (-0700) Subject: Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint X-Git-Tag: v2.9.3~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4966b58f3e1f295e3fb22560006b1db717b56f37;p=thirdparty%2Fgit.git Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint A helper function that takes the contents of a commit object and finds its subject line did not ignore leading blank lines, as is commonly done by other codepaths. Make it ignore leading blank lines to match. * js/find-commit-subject-ignore-leading-blanks: reset --hard: skip blank lines when reporting the commit subject sequencer: use skip_blank_lines() to find the commit subject commit -C: skip blank lines at the beginning of the message commit.c: make find_commit_subject() more robust pretty: make the skip_blank_lines() function public --- 4966b58f3e1f295e3fb22560006b1db717b56f37