From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9207 invoked from network); 9 Jan 2022 00:00:49 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 9 Jan 2022 00:00:49 -0000 Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 1d9a025e; Sun, 9 Jan 2022 00:00:32 +0000 (UTC) Return-Path: Received: from sender4-op-o11.zoho.com (sender4-op-o11.zoho.com [136.143.188.11]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 5e75ca8d (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Sun, 9 Jan 2022 00:00:31 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1641686428; cv=none; d=zohomail.com; s=zohoarc; b=M3/5ZWCHHZ7GbNKLlmsnizjK6ah+QuxIGKINskxXLjUTXk9O9OEZEszfHioeYmyAJ8ir3N5QJCJqCEO9y9NXQoLP2swYE6F5CkHW6oYDFfdJULID6ht5o292bUlgMHlzkDz67oiquVAcJxCk2pZ+fnMgFtmDdpIyEJjg5zJFqg4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641686428; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=r25rq45cEknlLBxZ1r2wW8R/C9W0Pejy46zvceF39qg=; b=fEDZgS/n8mZ5q0Z+oSTzjmNtujK/ZsBcXP30ZlmZ9Ekv0sdvF7zsC8RO/LAEGcbX0s4we0yMtp4Z6MHXo26HyB2TcR/PzYYVvW3A/3nmOa3OCtKhFM4nX9rz5mORs7NXqGpzNc7+zCw+yVu4V5Nljr8rPeHsbxtws1TbJrazaBk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=nilfm.cc; spf=pass smtp.mailfrom=nilix@nilfm.cc; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641686428; s=zoho; d=nilfm.cc; i=nilix@nilfm.cc; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; bh=r25rq45cEknlLBxZ1r2wW8R/C9W0Pejy46zvceF39qg=; b=dgiQgsMHNc6JXrL/3X5pF4sVueSf2ahNS6iuiNsQZHzBFTn7kue9iihdMpTygQdS eOpucDIpYXR3/OBwmhLfiXrx9xFoYa3dadf+XxflJycjhBwrfi9/blyaJwEzMjweTx9 SvtkYfwn0A25urh6Gj+J342neUr1gGidjcD+/DwU= Received: from ksatrya.siroonian.local (c-76-127-49-136.hsd1.nm.comcast.net [76.127.49.136]) by mx.zohomail.com with SMTPS id 1641686427814836.8638962962646; Sat, 8 Jan 2022 16:00:27 -0800 (PST) Date: Sat, 8 Jan 2022 17:00:26 -0700 From: Derek Stevens To: Jamie Couture Cc: cgit@lists.zx2c4.com Subject: Re: patches: main as default branch, go gettable Message-ID: <20220109000026.h2vnxbyjnczpha22@ksatrya.siroonian.local> References: <20220108222800.gesev62brvbbd3wi@ksatrya.siroonian.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5kofocvltkqx5t2d" Content-Disposition: inline In-Reply-To: X-Zoho-Virus-Status: 1 X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" --5kofocvltkqx5t2d Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks Jamie, I just sent them using that method. As for the default branch name, I agree that using the default branch of th= e git-config and per-repo overrides would be preferrable, but I just change= d the hardcoded fallback from "master" to "main" in case nothing else was f= ound. I could probably do some legwork in the future to try and get it pull= ed from the actual git config as well... Cheers! Derek ------original message------ =46rom: Jamie Couture Date: Sat, Jan 08, 2022 at 03:46:33PM MST >Hi Derek, > >Can you retry sending these using git send-email? Don't forget to add your >sign-off to the commit log as well. > >https://git-scm.com/docs/git-send-email > > >As for the default branch change, I suspect people may want this feature >configurable based on their configuration. I'm thinking either derived from >your git config file or granularly via an override in the repo-list >configuration file. Ideally, obtain the default branch name from config of >each repo. > > >Thanks, > >On Sat, Jan 8, 2022 at 5:28 PM Derek Stevens wrote: > >> Hello CGit folk! >> >> I use cgit for my own git server and have made some minor modifications >> that might be of interest. >> >> The first is the trivial change to assume main as the default branch nam= e, >> as this is the new standard in git. >> >> The second and more interesting is to add a attribute to make a >> repository go-gettable. >> >> Both patches are attached; Happy new year and happy hacking! >> >> Cheers, >> Derek >> --5kofocvltkqx5t2d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmHaJZgACgkQO3+8IhRO Y5gncg//SxT37mImC5RbmVWsU5eT6LNsb8ziLiUgcm4B0n/ndNfY7Fkp/V92/R0Z p6se/+Hjy0FAMxc8KvjvuKRRxm9GIpO4ZQH9DyeckkliNh65pXfpSQ3WhLO1A9kv joshRPyCbJQeIqbsw8DD1Fo+t2HEAIyg54rXcd3dgFVCcyUMgokpAQf8pVYj37wy BkECPMkvqTxRxPfVisFrxA89DVEtOJU8Qu6pCCqZBH6JjenlRMb76shCO2NSUNKj x/6Mx35LNiykiEjr1pFANOG/skdn3LUrF93NVSijnKCDGFRwKuRYj1SzlU+BNhUl xHdxztajqT/zmx5LeQRr9dslRdY6o708RupV66HdWIzerMVEBjL2f1wNrFbJ3Zwt Q7Rz9nC3dojNugT2X0VHpACoX177DWGCF3RGWQ6uj0DPaGQuc+4acUZs8bJ85+Y0 KSdzv5Khb0SX2Mcal7uJfERBXT1qTQEAD1u3XfvOl9cHopXXsZV8J8t8FaXK3eZx dJPku5cQprmkJq2r5+aJEetavipT5d23rNFT5TGUofCXyGSVl3Bcnf8xcJC7u6va Y8vmIa8xNlU2RJsustXfiBDMEQmI4I9pjRgL+7gHu6ckKaeV0jn1OGtNE3WiGjzt CuXNEI22qS9Rs2Hqa4Zc/4AxrvIfRKWfnifsrm8Wjjqm/dT5tqY= =LcsK -----END PGP SIGNATURE----- --5kofocvltkqx5t2d--