From: Derek Stevens <nilix@nilfm.cc>
To: "René Neumann" <lists@necoro.eu>
Cc: cgit@lists.zx2c4.com
Subject: Re: [PATCH] use main as fallback branch instead of master
Date: Sat, 8 Jan 2022 18:45:41 -0700 [thread overview]
Message-ID: <20220109014541.ymzegmqqsp3zmfrd@ksatrya.siroonian.local> (raw)
In-Reply-To: <89ea4cb8-8cd9-6751-92bd-dd96c3343016@necoro.eu>
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
Ah yes, point taken; My apologies for not being thorough! I am submitting a more complete one momentarily :)
Thanks,
Derek
------original message------
From: René Neumann <lists@necoro.eu>
Date: Sat, Jan 08, 2022 at 05:55:25PM MST
>
>Am 09.01.22 um 00:56 schrieb Derek Stevens:
>>Signed-off-by: Derek Stevens <nilix@nilfm.cc>
>>---
>> ui-repolist.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/ui-repolist.c b/ui-repolist.c
>>index 529a203..c162290 100644
>>--- a/ui-repolist.c
>>+++ b/ui-repolist.c
>>@@ -53,7 +53,7 @@ static int get_repo_modtime(const struct cgit_repo *repo, time_t *mtime)
>> strbuf_reset(&path);
>> strbuf_addf(&path, "%s/refs/heads/%s", repo->path,
>>- repo->defbranch ? repo->defbranch : "master");
>>+ repo->defbranch ? repo->defbranch : "main");
>> if (stat(path.buf, &s) == 0) {
>> *mtime = s.st_mtime;
>> r->mtime = *mtime;
>
>1. This change itself seems rather meaningless. There is at least one
>other occurrence in cgit.c#guess_defbranch(), which must be in sync.
>2. Also change the man file.
>
>- René
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2022-01-09 1:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 23:56 Derek Stevens
2022-01-09 0:55 ` René Neumann
2022-01-09 1:45 ` Derek Stevens [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=20220109014541.ymzegmqqsp3zmfrd@ksatrya.siroonian.local \
--to=nilix@nilfm.cc \
--cc=cgit@lists.zx2c4.com \
--cc=lists@necoro.eu \
/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).