git-gui: fix applying line/ranges when the selection ends at the begin of a line
commita23a17f82eaead43cd1d900dc0e8fb80c3074ab2
authorBert Wesarg <bert.wesarg@googlemail.com>
Mon, 9 Jan 2012 13:28:22 +0000 (9 14:28 +0100)
committerBert Wesarg <bert.wesarg@googlemail.com>
Fri, 2 May 2014 13:05:47 +0000 (2 15:05 +0200)
treedaa9833806a276536c9373bf1334864c743beae3
parent2110ba328e474e6882a6a4c2298f731fef336e40
git-gui: fix applying line/ranges when the selection ends at the begin of a line

Selecting also the trailing newline of a line for staging/unstaging would
have resulted in also staging/unstaging of the next line.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
lib/diff.tcl