From: Santi Béjar Date: Sun, 18 Jan 2009 15:29:54 GMT Subject: Re: [PATCH v4 0/7] customizable --color-words Message-ID: In-Reply-To: 2009/1/18 Santi Béjar : > 2009/1/17 Thomas Rast : >> Johannes Schindelin wrote: >>> Thomas, could you pick up the patches from my 'my-next' branch and >>> maintain an "official" topic branch? >> >> I cherry-picked the three commits you had there, and rebuilt on top. >> I pushed them to >> >> git://repo.or.cz/git/trast.git tr/word-diff-p2 >> >> again (js/word-diff-p1 again points directly at your half). > > I've tested tr/word-diff-p2 and I have not found any issues. I've even > tested that nothing changed from the tradicional word diff to: > > git log -p --color-words="[^[:space:]]+" > > for the whole git history. > What I tested is that the new code produces the same result for this two commands: git log -p --color-words="[^[:space:]]+" git log -p --color-words The old code produced color codes before and after each word, while the new only at the begining of the color and the end of the color. So they cannot produce the same output but equivalent. Santi