From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57807: 29.0.50; Make vc-print-branch-log able to log multiple branches Date: Thu, 15 Sep 2022 08:33:00 +0300 Message-ID: <83fsgt19tf.fsf@gnu.org> References: <87czbxub4b.fsf@melete.silentflame.com> <83sfkt26r4.fsf@gnu.org> <87leqlshld.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31960"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57807@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 07:34:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYhW2-00085v-Uc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 07:34:23 +0200 Original-Received: from localhost ([::1]:50782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYhW0-0005XR-T2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 01:34:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYhVi-0005Vm-Hi for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 01:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYhVi-0008V8-9D for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYhVi-0007KW-10 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 01:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2022 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57807 X-GNU-PR-Package: emacs Original-Received: via spool by 57807-submit@debbugs.gnu.org id=B57807.166322000128130 (code B ref 57807); Thu, 15 Sep 2022 05:34:01 +0000 Original-Received: (at 57807) by debbugs.gnu.org; 15 Sep 2022 05:33:21 +0000 Original-Received: from localhost ([127.0.0.1]:56742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYhV2-0007Je-Un for submit@debbugs.gnu.org; Thu, 15 Sep 2022 01:33:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYhUy-0007JN-2B for 57807@debbugs.gnu.org; Thu, 15 Sep 2022 01:33:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYhUs-0008RC-Qz; Thu, 15 Sep 2022 01:33:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZioPfNN7b1A8bw8p95qFbOrqoYzOqJD4EHV0eq58kcM=; b=S7KSCLIKuV7d Qx4MRSzcUlSulcx1iHSr00veHmHWQVtdO7oFl902+sAM87aaAdcEzzkKPDS4Br2gaykyS0TDdviI7 6pwwc/8Pb2oWK8dS/2wOzoeqGi+XfDAVJp4uNxrzy6nWuxvtHMwSeTKD7Lya1D9xaqjy8x1v7aBLM m5PN7JrYPaOrOl53b83vWt2LI1fCWm2S5h9Qjh/L1gApWlLnEa+D2tWkOx+0G1iG88FBt9CX2Fwdw 9dlc9iZloRZjYr0rjR2wUgBcwjq2izUvUWUT1OLpv3HOUw/OLR3p5x7g+V5gPbzBDNTkvqbuDPoPl v891u5yzQwJ5a4YsIt+xsg==; Original-Received: from [87.69.77.57] (port=4632 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYhUr-0000sE-Mp; Thu, 15 Sep 2022 01:33:10 -0400 In-Reply-To: <87leqlshld.fsf@melete.silentflame.com> (message from Sean Whitton on Wed, 14 Sep 2022 15:42:54 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242555 Archived-At: > From: Sean Whitton > Date: Wed, 14 Sep 2022 15:42:54 -0700 > > On Wed 14 Sep 2022 at 08:41PM +03, Eli Zaretskii wrote: > > > I'm not sure I understand: how is this different from what "C-x v L" > > already produces? > > Here's an example showing logging two branches "melete" and "erebus" in > a repo of mine: > > * 8d679018 (origin/erebus) sync from melete ~/doc on erebus > * 44398919 use light-on-dark on erebus > * 272fc7a6 manual DPMS on erebus since it means no sound > * 22fc8f11 erebus wallpaper > * 512eb187 erebus terminal font size > | * 038c0a31 (HEAD -> melete, origin/melete) sync from erebus ~/doc on melete > | * 8197e31e modus-vivendi on melete for erebus > |/ > * c3f9d152 (origin/master, origin/HEAD, master) attempt to ensure [...] > * 643b20f6 spw/maybe-scale-basic-faces: simplify checking fonts were found > > >From this view one is able to see how erebus is 5 commits ahead of > master and melete is two (different) commits ahead of master. So the difference is that what you want to see is all the branches up to their HEAD, and not just branches merged into the current branch, is that right? If so, I guess some optional feature of "C-x v L" could do that. However, if the repository has many branches (and ours, for example, does), wouldn't that make for a crowded and hard-t-read log buffer? Perhaps asking the user for a name of one branch will be enough? More than one branch could be problematic on display, I think.