git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Syntax highlighting for combined diff
@ 2006-10-21  0:35 Jakub Narebski
  2006-10-21  7:48 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Jakub Narebski @ 2006-10-21  0:35 UTC (permalink / raw)
  To: git

Linus Torvalds wrote in "Re: VCS comparison table"

> And "gitweb" does consider the first parent special, since it shows diffs 
> against that one (although I've argued that it probably shouldn't, and 
> that there should be some way to show branches against arbitrary parents)

So the question is how to color combined diff format (what should be syntax
highlighting for combined diff format). If branches columns have only
pluses we use the same color as for adding line in ordinary diff; if
branches column consist only of minuses we use the same color as for
removing line in ordinary diff. Can there be mixture of plusses and
minuses? How git-diff --color solves this?

Should we in gitweb output change color slightly depending on number of
plusses or minuses?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

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

end of thread, other threads:[~2006-10-21 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-21  0:35 [RFC] Syntax highlighting for combined diff Jakub Narebski
2006-10-21  7:48 ` Junio C Hamano
2006-10-21  8:49   ` Jakub Narebski
2006-10-21  9:41     ` Junio C Hamano
2006-10-21 10:02       ` Jakub Narebski
2006-10-21 10:40         ` Junio C Hamano

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).