[cgit] Trouble with plain visualizing

Lars Hjemli hjemli at gmail.com
Sun Jun 12 23:34:40 CEST 2011

[Added cgit mailing list to CC]

On Sun, Jun 12, 2011 at 18:12, Karsten Schulz
<lennylinux.ks at googlemail.com> wrote:
> I like your implementation of a webinterface for git. But i have a
> trouble with the plain visualizing of the source tree.
> At first pls click of the following link:
> http://lenny-linux.dlinkddns.com/cgit/Streetplaner/src.git/tree/src/org/streetplaner
> if you click on any plain visualizing and than on an Java-File you'll
> see the link is wrong.
> For example you click on "math":
> the link-output shows like:
> http://lenny-linux.dlinkddns.com/cgit/Streetplaner/src.git/plain/src/org/streetplaner/math
> And if you now click on any Java-File, "math" will replaced with your
> choose and the webinterface can't find this file.
> For example Line.java the link-output shows:
> http://lenny-linux.dlinkddns.com/cgit/Streetplaner/src.git/plain/src/org/streetplaner/Line.java
> Does it a trouble of cgit or configuration of anyone?

This is a bug, which I've now deployed a fix for in my stable and
master branches on hjemli.net/git/cgit.

Mark: my patch conflicts with the work you've put into ui-plain.c
(which has been lingering in the wip branch), but I think it needed to
be done, and I've been considering dropping the patches regarding
symbolic link following in plain view (I think cgit should display the
content of the symbolic link). Opinions?


More information about the CGit mailing list