From: Kay Sievers Date: Sat, 28 May 2005 08:42:55 GMT Subject: Re: More gitweb queries.. Message-ID: <20050528084255.GA32614@vrfy.org> In-Reply-To: On Fri, May 27, 2005 at 09:03:24PM -0400, Daniel Serpell wrote: > Hi! > > On 5/27/05, Kay Sievers wrote: > > On Fri, May 27, 2005 at 12:24:20PM -0700, Linus Torvalds wrote: > > > Combining some of the features of the two (that über-cool revision > > > history graph from gitk rules, for example) might be cool. I get the > > > urge to do octopus-merges in the kernel just because of how good they > > > look in gitk ;) ] > > > > I would like to show something like the graph too, but I don't really know > > how to do this in html. Seems slippery if not impossible. > > If anybody has a nice idea how to represent that, I will give it a try. > > Well, you could draw them in javascript, using > http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm :-) You know how that stuff works? :) It is a very nice idea for small stuff, but it uses a
for every pixel/line you draw and places this in the background and I expect it to kill your browser if you try to draw things like gitk does. > Alternatively, you could use a fixed set of little images, a bar "|", a > dot "o" and branches like "Y", "7" and "\". Obviously, octopus-merges > are very difficult to draw using only those. Did you look at gitk? With a all the crossing and long lines, you definitely need to draw the lines with colors. Otherwise you will see _nothing_, but random characters. :) > BTW, I tried searching on gitweb, and I think that found a problem, see: > http://ehlo.org/~kay/gitweb.cgi?p=git/git.git;a=search;s=check > At the bottom of the page, highlighting of the search term stops and the > commits are all the same color. Well, you see a list of files which contain the text, not the text itself. I can print the filename in red. :) Thanks, Kay