List for cgit developers and users
 help / color / mirror / Atom feed
* Display of directories that contain only one subdirectory
@ 2016-07-13 17:57 erik.brangs
  2016-07-13 19:49 ` john
  0 siblings, 1 reply; 8+ messages in thread
From: erik.brangs @ 2016-07-13 17:57 UTC (permalink / raw)


Hi,

I use cgit via websites that use it to provide a repository browser, i.e. I don't have my own deployment. IMHO it would be nice to get a more comfortable navigation for directories that only contain one subdirectory. For example, for a path like "contrib/hooks" at https://git.zx2c4.com/cgit/tree/ , you first need to click on "contrib" and then again on "hooks". Navigation could be simplified by providing a link for "contrib/hooks" that points directly to the "contrib/hooks" path.

GitHub's repository browser implements this feature. For example, at https://github.com/torvalds/linux/tree/master/tools , there's a link for "kvm/kvm_stat" that points directly to "https://github.com/torvalds/linux/tree/master/tools/kvm/kvm_stat" .

I looked at cgitrc.5.txt and didn't find any evidence that this feature was already implemented for cgit. Assuming I didn't miss anything, would someone be interested in implementing it?


Kind regards,

Erik Brangs






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

end of thread, other threads:[~2016-08-08 22:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-13 17:57 Display of directories that contain only one subdirectory erik.brangs
2016-07-13 19:49 ` john
2016-07-13 22:12   ` jamie.couture
2016-07-13 22:43     ` jamie.couture
2016-08-07 15:09       ` john
2016-07-14 18:12   ` erik.brangs
2016-08-07 15:12     ` john
2016-08-08 22:48       ` Jason

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