Re: [JGIT PATCH 8/6] Fix zero context insert and delete hunk headers to match CGit
From: Miles Bader <hidden> Date: 2016-06-15 22:46:42
"Shawn O. Pearce" [off-list ref] writes:
And here is that hack. It just feels wrong to me that I need
to subtract 1 from the Edit region's line numbers, *only* when
context is 0, in order to get the same output as CGit.
A big comment saying "this may look a bit funny, but it's the standard's
fault: [text from std...]" might help salve the wound...
-Miles
--
.Numeric stability is probably not all that important when you're guessing.