Re: Project idea: github-like diff view
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 22, 2014, 16:11 UTC
- Message-ID
- <535694c23647e_3e5aed730839@nysa.notmuch>
- In-Reply-To
- <CACsJy8DnJeZ-43Ydg_j00CO6=6NOA1wdzQ+EwCX6idrUOLn8gA@mail.gmail.com>
Duy Nguyen wrote:
Show 13 quoted lines
> On Sun, Apr 20, 2014 at 9:46 PM, Jeff King <peff@peff.net> wrote: > > On Sun, Apr 20, 2014 at 04:58:28PM +0700, Duy Nguyen wrote: > > > >> - --color-words within unified diff format, using background color to > >> show what part of the line has changed. This is only enabled for > >> 1-line changes. > > > > See contrib/diff-highlight. > > Thanks. I'd rather have it built in core git still. I'll try to see if > I can rewrite it in C. Else, any objection to promote it to a core > helper and setup pager automatically? We can have a config key to turn > it off, but if git diff is colored, then it could be on by default.
Having so many tools that should be rewritten to C, I don't see why anybody should spent time rewriting scripts that are not part of the core and for the most part do their job already.
-- Felipe Contreras