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#51497: 29.0.50; (vc-print-log) broken over TRAMP Date: Mon, 08 Nov 2021 14:49:47 +0200 Message-ID: <83o86u7qxg.fsf@gnu.org> References: <877ddv9ue0.fsf@jpl.nasa.gov> <87tugyptju.fsf@gnus.org> <87tugy8h3a.fsf@secretsauce.net> <87pmrl8yhy.fsf@secretsauce.net> <60fea707-a9b2-d9f4-cc45-ffd4539887b6@yandex.ru> <87o87253sv.fsf@secretsauce.net> <60af7952-d702-d40f-928e-1320e6d9520f@yandex.ru> <83f40a2a-ae5a-2c6c-cf6a-44ff7c933d16@yandex.ru> <831r3tb7un.fsf@gnu.org> <7e04f090-81de-d5bd-746c-7f09ed0c38b0@yandex.ru> <83lf219i3u.fsf@gnu.org> <86r1btvsso.fsf@gmail.com> <86ilx4x4xv.fsf@gmail.com> <1f17978c-0498-a19b-6bb0-6f316a536f8e@yandex.ru> <83h7coa2cs.fsf@gnu.org> <92da67f0-9133-98ba-69e3-7408fab30539@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22780"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51497@debbugs.gnu.org, andrewjmoreton@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 08 13:51:11 2021 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 1mk47C-0005fC-Jj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Nov 2021 13:51:10 +0100 Original-Received: from localhost ([::1]:60972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk47A-00052B-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Nov 2021 07:51:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk474-000523-Mb for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 07:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mk474-0007dw-EC for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 07:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mk474-0008Ph-Bf for bug-gnu-emacs@gnu.org; Mon, 08 Nov 2021 07:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Nov 2021 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51497-submit@debbugs.gnu.org id=B51497.163637580832237 (code B ref 51497); Mon, 08 Nov 2021 12:51:02 +0000 Original-Received: (at 51497) by debbugs.gnu.org; 8 Nov 2021 12:50:08 +0000 Original-Received: from localhost ([127.0.0.1]:56758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk46C-0008Ns-3T for submit@debbugs.gnu.org; Mon, 08 Nov 2021 07:50:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk467-0008ND-Qt for 51497@debbugs.gnu.org; Mon, 08 Nov 2021 07:50:06 -0500 Original-Received: from [2001:470:142:3::e] (port=54420 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk462-0006jH-BA; Mon, 08 Nov 2021 07:49:58 -0500 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=eoqWmU19hgMLAgmKPotAuZ5y7Bhlg0wz3PIXXpMptm4=; b=R9QmiRMeEaN2 vp4g6mWG0AjKjzve8jyg4q+yg+B6Iy8Se0wuuDcrKOG94iEsLz47a+SLP6FHMNP8SPtgI6ZsLY+XD RyTMnc+3flmcVhBZ1oDXzHmQYb96HnteBSAdvMj2s0QU0yjs8CuUnM0UZ+8/98UsLF4OM+aPL4NY9 Rt3JiV/5zR4Xn21iNO3xNMfFOxqnlAMX5XRnWMw2un3RZxZVswY35aOOUqHPYHYSyh/jP0Ov6calJ ZROvle3Ci1fBbOld3iL0beFdItEFc8gfTD4dxYseXlziKZoDCZfi1XYgecBbraopwqcelf+fDLD/v 2jvJRiPb+jS+FJ/z5Qovvw==; Original-Received: from [87.69.77.57] (port=2524 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 1mk461-0007Bo-Pp; Mon, 08 Nov 2021 07:49:58 -0500 In-Reply-To: <92da67f0-9133-98ba-69e3-7408fab30539@yandex.ru> (message from Dmitry Gutov on Mon, 8 Nov 2021 01:36:18 +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" Xref: news.gmane.io gmane.emacs.bugs:219348 Archived-At: > Cc: 51497@debbugs.gnu.org, andrewjmoreton@gmail.com > From: Dmitry Gutov > Date: Mon, 8 Nov 2021 01:36:18 +0300 > > > Why wasn't --literal-pathspecs used in the first place? what are the > > downsides? IME, using magic file names is always worse, because it > > can run afoul of various shells that consider some characters special. > > It wasn't among the proposed solutions. > > I went with the env var solution initially (because it required less > code and brought fewer -- none -- Git version compatibility problems), > but it didn't yield itself as easily to the per-action opt-in as the > other proposal (currently installed). > > But now that I think about it, it would be possible to do this without a > new macro, just adding a new variable that default to nil, and set it to > t in every backend method that needs it. But would that solve our problems for which :(literal) was introduced? AFAIU, the difference between that and --literal-pathspecs is that the latter is global: it affects all the file names of the Git command, while the former can be applied only to some file names. Do we have valid use cases where only some of the file names need to be treated as literal?