git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Project idea: github-like diff view
@ 2014-04-20  9:58 Duy Nguyen
  2014-04-20 14:46 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Duy Nguyen @ 2014-04-20  9:58 UTC (permalink / raw)
  To: Git Mailing List

When you view a commit from github, it shows extra info besides
standard unified diff format:

- the column number of each line (useful for jumping directly to that
line without manual counting from @@ line)
- --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.

These can be implemented and seem useful, especially the --color-words
item. Once you get familiar with diff.c I suppose you could implement
both in a week (the first probably takes just a day).
-- 
Duy

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-22 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-20  9:58 Project idea: github-like diff view Duy Nguyen
2014-04-20 14:46 ` Jeff King
2014-04-22  9:59   ` Duy Nguyen
2014-04-22 15:59     ` Jeff King
2014-04-22 16:11     ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).