From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#39452: [PATCH] vc-git-state fails for filenames with wildcards Date: Fri, 7 Feb 2020 14:43:15 +0300 Message-ID: <5641ee6c-0b79-e405-74d5-1edf184c58cb@yandex.ru> References: <83h802g77h.fsf@gnu.org> <8f427281-510c-30c3-995f-364e22d9c1e2@yandex.ru> <837e0yg335.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="49758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 39452@debbugs.gnu.org, Wolfgang.Scherer@gmx.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 07 12:44:14 2020 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 1j023R-000Cr6-JD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Feb 2020 12:44:13 +0100 Original-Received: from localhost ([::1]:54728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j023Q-0000cW-MF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Feb 2020 06:44:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j023H-0000bi-Ei for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2020 06:44:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j023G-0002D2-HB for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2020 06:44:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j023G-0002Bw-Bz for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2020 06:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j023G-00069e-97 for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2020 06:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2020 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39452-submit@debbugs.gnu.org id=B39452.158107580523587 (code B ref 39452); Fri, 07 Feb 2020 11:44:02 +0000 Original-Received: (at 39452) by debbugs.gnu.org; 7 Feb 2020 11:43:25 +0000 Original-Received: from localhost ([127.0.0.1]:48944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j022f-00068N-Bm for submit@debbugs.gnu.org; Fri, 07 Feb 2020 06:43:25 -0500 Original-Received: from mail-lj1-f193.google.com ([209.85.208.193]:37221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j022d-000687-Gj for 39452@debbugs.gnu.org; Fri, 07 Feb 2020 06:43:23 -0500 Original-Received: by mail-lj1-f193.google.com with SMTP id v17so1810269ljg.4 for <39452@debbugs.gnu.org>; Fri, 07 Feb 2020 03:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3ns24JsdkF6JzszgN8093tBAaVRg6GC9ccc4mvHzQT0=; b=WPojKz9ZgO9svvbfFmKOjeWVgImwZODbtCPR/F2R4r+StliGuASsxhPp573TSb6sIV +vrEqLIJ5qMdIKu+0Ue3ETnom2yiNsJfnFpl83Y9ObYA4h7rI194u1MXdd4tC/dIOV0B Ww/2+Gkw+DrBvyYt6cJeBt9mMvdoE7B2Gw/Z+lV3Vc9xrBhwnSGgVoNqIQt6W/4ZY+bg rzWHAy3gZOiLxxs17T+Jdeii5/Pyus19tU04jL9fNuDi04EcFe7RICfWqfeB15/3RCCU hyKQ36JK6vp8eeXKNCyqcIxNF4mY848xU+hS3qMXEF8FZE8v8ZV0dEOil84DLWJlNYfa iSYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3ns24JsdkF6JzszgN8093tBAaVRg6GC9ccc4mvHzQT0=; b=BoaLw0DRG5J4yjibGD8L0GVX9Ob/0ST8cu+/V03sMQZsxg+NgxPnc4crDOx0+WdQqI fUk+XM2KbMnLRViupZFIvxOW6976WxuWH2F/S4uxLTBUdKdAzoew2CaiuVObxSaTyP6G xv1o9Qa4w2FQb1F0qKHQXae36ELldp8s20rsHOKGiP+xE8b/x5Aoy3j2zbM8CfryEcjr pc6/PLnps8fWMXuOA/T7y2ZYqJe5EGijsNV62h7K5ZhXV6p0aKMeMsh8HVl+yUq1S16m afczWffp5n/2F7p24gUe7YO4MXKvm+GN8xnTSPR6Kekmo20Ffn7i8AWDOT0rInq32kdA veNA== X-Gm-Message-State: APjAAAX51ODCvRS8zFAN7DbT2LIuQS6/kHoCtgOQLy2kssx/wnUZFxK4 xVtqsiY7t2rhoK1ME7qcj+E= X-Google-Smtp-Source: APXvYqwR4JrNj/AiCsR1uhrv0lN4zhDu67jb9Nmi2RlPU4fKfmMJm4TKuwm5bLQP1yXh6C0hnQ94mA== X-Received: by 2002:a2e:a402:: with SMTP id p2mr5206519ljn.143.1581075797303; Fri, 07 Feb 2020 03:43:17 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id h19sm1073811ljl.57.2020.02.07.03.43.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Feb 2020 03:43:16 -0800 (PST) In-Reply-To: <837e0yg335.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175747 Archived-At: On 07.02.2020 12:26, Eli Zaretskii wrote: > What I wrote was a response to your "we basically never quote". ...file names in vc-git.el because we've been relying on call-process. > Let > me correct my perhaps too-general response by saying "the prudent > thing is to always quote file names, unless the command expects a > wildcard in that argument". I would say that differently: ...to always quote files names when the command expects a wildcard, but we want the file name to be treated verbatim.