mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
51478449ec
Hunks in unified diffs are usually in the form of @@ -a,b +x,y @@, but sometimes the ,b (i.e. the range) can be ommitted, in which case our code didn't match the hunk-header at all, resulting in line-numbers off-by-one in commit-view. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>