Code

git-diff: fix combined diff
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 23 Feb 2007 04:20:32 +0000 (05:20 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Feb 2007 05:24:34 +0000 (21:24 -0800)
commit75b62b489af7b62a5518c3f199d2a2776205e088
treefb7ee6d079c4b286102175d6cdec938159614bed
parent755b99d81539461645088085ea033a3b36152da5
git-diff: fix combined diff

The code forgets that typecast binds tighter than addition, in
other words:

    (cast *)array + i  === ((cast *)array) + i

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c