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#73232: [PATCH] Allow vc-diff to suggest a default revision in vc-dir Date: Sat, 14 Sep 2024 19:49:41 +0300 Message-ID: <867cbefae2.fsf@gnu.org> References: <864j6jjzzn.fsf@gnu.org> <304daaee-52d8-46ec-98f6-fda27908451e@gutov.dev> <86seu2iumc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5726"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 73232@debbugs.gnu.org, juri@linkov.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 14 18:51:09 2024 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 1spVzI-0001H8-Ak for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Sep 2024 18:51:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spVz3-00060q-5j; Sat, 14 Sep 2024 12:50:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spVz1-00060h-Mx for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 12:50:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spVz1-0003gG-DN for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 12:50:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=oybIg5QGMaJAJCi56PhLLpZ9rTNyIvXoVqtst9v9rdw=; b=p0Kz5lxR/IwNMCfeuDnki6wf9dplW5SMmB+GQAhSEFsOQcNsWE5OfZiaLGDmh41+eAJruhonC4DQDz9NlbiIA2wKwFbSDlKT3dBeJOm3Xv6P8ifl7cpAB7Gh1hsSCuhdpsgqfiL1flyqjZcrH4wwGcLaOO/sIuvWgyLWnBlH2chBb/e6pe8S5PaTVrVbFsaPnqPc6AGzKiUCnDtAWJZXyHu7bXz65lCqpuh73lmGEFgchRF+NuJEgEGZc65+3votvNbj78tTlBE+vj1mHHyXf+aq63vKU07QQmYv1gQg8fspJkprUUNPwi+1LMKfTor6LlenlQuFsr1mtzieQj0tsg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spVzC-0001sZ-3Y for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 12:51: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: Sat, 14 Sep 2024 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73232 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 73232-submit@debbugs.gnu.org id=B73232.17263326066615 (code B ref 73232); Sat, 14 Sep 2024 16:51:02 +0000 Original-Received: (at 73232) by debbugs.gnu.org; 14 Sep 2024 16:50:06 +0000 Original-Received: from localhost ([127.0.0.1]:47732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spVyH-0001ib-Tc for submit@debbugs.gnu.org; Sat, 14 Sep 2024 12:50:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spVyE-0001hp-6h for 73232@debbugs.gnu.org; Sat, 14 Sep 2024 12:50:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spVxw-0003NP-1M; Sat, 14 Sep 2024 12:49:44 -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=oybIg5QGMaJAJCi56PhLLpZ9rTNyIvXoVqtst9v9rdw=; b=TaH3QLm1nNmt +sy/6r1zLdqcy1EjtDqLQjsS8IQO+8tXQIXSMyXSPjNdlJ5wGRQUSzSHz1DSChCxeMxO2vT6ZuerN r1G+X+2mnwNQNtpEnC6aH9DcSlxSpl5y8OYBRObGXAmLyTNZEIEBRzHm+2xVHba4bganiTXZeLod5 cuOjZSh5Hwb0amCar5x8/JhmdWfeVDmJGnzDTTpOSDyUA1zluFbHRaqu0xn1182PUY3jsPr+4NkZk SRNDCWFPCUwaJXzru9nHNBIhd4sYjJxcIkNA4rSrU5GUXTrPzTHtYfJQlPyQUzIrG7aobrHeDnNAI 2mXeYTBX3EoEasgp6b0MaQ==; In-Reply-To: (message from Dmitry Gutov on Sat, 14 Sep 2024 19:13:40 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291792 Archived-At: > Date: Sat, 14 Sep 2024 19:13:40 +0300 > Cc: sbaugh@janestreet.com, 73232@debbugs.gnu.org, juri@linkov.net > From: Dmitry Gutov > > On 14/09/2024 10:04, Eli Zaretskii wrote: > > > Directories are never important items in > > VC-related activities; files are. > > IME it's pretty common to invoke vc-root-diff from the vc-dir buffer. Yes, but vc-dir shows files. Directories are shown, but when there are files with "unusual" status, they dominate the display. > I don't do this myself often, TBH, but if someone is working in large > repo, and the project is split into directories along subsystem lines, > then one might want to make commits limited to subdirectories. Then it > should be useful to call vc-diff on such a directory first. Does anyone really do such things nowadays?