From: erik.brangs at gmx.de (Erik Brangs)
Subject: Display of directories that contain only one subdirectory
Date: Wed, 13 Jul 2016 19:57:23 +0200 [thread overview]
Message-ID: <fc590f0d-3397-ae89-bf5e-d83354ef57ce@gmx.de> (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
next reply other threads:[~2016-07-13 17:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 17:57 erik.brangs [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc590f0d-3397-ae89-bf5e-d83354ef57ce@gmx.de \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).