Re: [PATCH] git-gui: allow "\ No newline at end of file" for linewise staging

2013-05-10 Thread Tobias Preuss
I tested the patch as I am the same person that bothered about the behavior a while ago. Please merge. - Sorry for sending an HTML formatted mail before. On Thu, May 9, 2013 at 6:30 PM, Heiko Voigt wrote: > Counting of lines did not skip this line when generating the hunk > header. > > Signed-off

[PATCH] git-gui: allow "\ No newline at end of file" for linewise staging

2013-05-09 Thread Heiko Voigt
Counting of lines did not skip this line when generating the hunk header. Signed-off-by: Heiko Voigt --- Here is an attempt at fixing the no newline issue. I would appreciate another pair of eyes though. git-gui/lib/diff.tcl | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) dif