List for cgit developers and users
 help / color / mirror / Atom feed
From: Christian Hesse <list@eworm.de>
To: cgit@lists.zx2c4.com
Cc: Christian Hesse <mail@eworm.de>
Subject: Re: [PATCH 1/1] about: allow to give head from query
Date: Mon, 10 Jan 2022 10:23:53 +0100	[thread overview]
Message-ID: <20220110102353.5a441656@leda.eworm.net> (raw)
In-Reply-To: <20220110091855.22394-1-list@eworm.de>

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

Christian Hesse <list@eworm.de> on Mon, 2022/01/10 10:18:
> From: Christian Hesse <mail@eworm.de>
> 
> Reading the README from repository used to be limited to default
> branch or a branch given in configuration. Let's allow a branch
> from query if not specified explicitly.

As an alternative we could introduce a new character here, so cgit can
distinguish between head from query and default branch. Something like:

readme=*README.md
readme=:README.md
readme=main:README.md

Any opinion?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2022-01-10  9:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10  9:18 Christian Hesse
2022-01-10  9:23 ` Christian Hesse [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=20220110102353.5a441656@leda.eworm.net \
    --to=list@eworm.de \
    --cc=cgit@lists.zx2c4.com \
    --cc=mail@eworm.de \
    --subject='Re: [PATCH 1/1] about: allow to give head from query' \
    /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

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