Code

xdiff/xemit.c (xdl_find_func): Elide trailing white space in a context header.
authorJim Meyering <jim@meyering.net>
Mon, 23 Oct 2006 20:22:25 +0000 (22:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 23 Oct 2006 21:33:54 +0000 (14:33 -0700)
commit67aef034551aed0cc417e8b758a59b9978c4f3f1
tree804b1546ae08df67a8a7ec50d25d65647e044102
parent810799ecab6f9164401416988d9d79270315ba18
xdiff/xemit.c (xdl_find_func): Elide trailing white space in a context header.

This removes trailing blanks from git-generated diff headers
the same way a similar patch did that for GNU diff:

  http://article.gmane.org/gmane.comp.gnu.utils.bugs/13839

That is, it removes trailing blanks on the hunk header line that
shows the function name.

Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
xdiff/xemit.c