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=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_RPBL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29567 invoked from network); 6 Nov 2022 13:53:35 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 6 Nov 2022 13:53:35 -0000 Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4c3281c0; Sun, 6 Nov 2022 13:53:18 +0000 (UTC) Return-Path: Received: from mail.thenautilus.net (mail.thenautilus.net [178.162.154.203]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id bfe5d9a7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 6 Nov 2022 13:53:17 +0000 (UTC) Received: (qmail 15698 invoked from network); 6 Nov 2022 13:53:16 -0000 Received: from unknown (HELO localhost) (dakkar@::ffff:10.111.0.42) by 0 with ESMTPA; 6 Nov 2022 13:53:16 -0000 Date: Sun, 6 Nov 2022 13:53:06 +0000 From: Gianni Ceccarelli To: cgit@lists.zx2c4.com Subject: Re: Greater use of the HTML title (for tabs and title bars) in cgit Message-ID: <20221106135306.07adfe6d@thenautilus.net> In-Reply-To: References: <4769ecda-d23b-65a4-132e-a2a0d8e26f13@freebsd.org> X-Mailer: Claws Mail 4.1.1git6 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" On 2022-11-06 John Keeping wrote: > > * the branch (not main) > > Git commits are not associated with a branch, so unless we have an > h=... query argument I don't see any way to derive the correct value > to display for a branch. We could do the equivalent of ``git branch --contains $commit``, but: - it's expensive - it returns a list of heads So I agree that the best source of branch name is the ``h=`` argument. -- Dakkar - GPG public key fingerprint = A071 E618 DD2C 5901 9574 6FE2 40EA 9883 7519 3F88 key id = 0x75193F88