From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Date: Mon, 12 Sep 2011 03:29:18 -0400 Message-ID: References: <81sjo2fd8o.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315812596 16086 80.91.229.12 (12 Sep 2011 07:29:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 07:29:56 +0000 (UTC) Cc: 9480@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 09:29:52 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R30xj-0002Lr-TI for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 09:29:52 +0200 Original-Received: from localhost ([::1]:39241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30xj-000348-5G for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 03:29:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30xf-00033s-Im for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:29:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R30xb-0001mK-KZ for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:29:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30xb-0001mE-Hk for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:29:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R311m-00077x-Qf; Mon, 12 Sep 2011 03:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2011 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9480 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9480-submit@debbugs.gnu.org id=B9480.131581282227369 (code B ref 9480); Mon, 12 Sep 2011 07:34:02 +0000 Original-Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 07:33:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R311R-00077N-AK for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:33:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R311O-00077F-9p for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 03:33:39 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R30xC-0005jC-06; Mon, 12 Sep 2011 03:29:18 -0400 In-reply-to: <81sjo2fd8o.fsf@gmail.com> (message from Jambunathan K on Mon, 12 Sep 2011 12:39:43 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 03:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51040 Archived-At: > From: Jambunathan K > Date: Mon, 12 Sep 2011 12:39:43 +0530 > > While in a *vc-dir* buffer (backed by git) and trying to show or apply a > stash fails. > > I am attaching "works for me" patch that shell-quotes stash@{n} > argument. With this "patch", the stash commands work as expected. > > My shell-file-name is set to "bash" (cygwin version). My Emacs is > > In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) Can you tell what does git see as its arguments without the quoting? I would like to establish whether this is some bug specific to the Windows build of Emacs, since other systems that use Bash evidently don't need this change. TIA