List for cgit developers and users
 help / color / mirror / Atom feed
From: june <june@causal.agency>
To: Alejandro Colomar <alx.manpages@gmail.com>
Cc: cgit@lists.zx2c4.com, Christian Hesse <mail@eworm.de>
Subject: Re: Hyperlink for symlinks
Date: Fri, 13 May 2022 16:12:46 -0400	[thread overview]
Message-ID: <E8481DA0-050E-4AF4-AFD0-D3334A8AFFA9@causal.agency> (raw)
In-Reply-To: <5d7f0077-bb63-2994-7ab5-96330a798daa@gmail.com>

> On May 9, 2022, at 04:25, Alejandro Colomar <alx.manpages@gmail.com> wrote:
> 
> Hi,
> 
> When a file is a symlink, cgit shows the TARGET string.  Normally, those symlinks will resolve to something within the same repository, and therefore I think it would be great if that text was itself a hyperlink to the TARGET file within the same repo.

I implemented this ages ago:
https://git.causal.agency/cgit-pink/commit/?id=41a17adafa443dc5a0d42d5d21fb02230b9005b7


      reply	other threads:[~2022-05-13 20:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  8:25 Alejandro Colomar
2022-05-13 20:12 ` june [this message]

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=E8481DA0-050E-4AF4-AFD0-D3334A8AFFA9@causal.agency \
    --to=june@causal.agency \
    --cc=alx.manpages@gmail.com \
    --cc=cgit@lists.zx2c4.com \
    --cc=mail@eworm.de \
    /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).