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 06:51:30 -0400 Message-ID: References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315827616 25745 80.91.229.12 (12 Sep 2011 11:40:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 11:40:16 +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 13:40:11 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 1R34rz-00030O-J8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 13:40:11 +0200 Original-Received: from localhost ([::1]:39475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R348N-0005L6-J9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 06:53:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3474-0002s3-T1 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 06:51:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3473-0006t9-Of for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 06:51:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3473-0006t4-Jr for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 06:51:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R34BF-0004uc-RP; Mon, 12 Sep 2011 06:56:01 -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 10:56:01 +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.131582495618871 (code B ref 9480); Mon, 12 Sep 2011 10:56:01 +0000 Original-Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 10:55:56 +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 1R34B8-0004uI-SO for submit@debbugs.gnu.org; Mon, 12 Sep 2011 06:55:55 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R34B5-0004uA-Hq for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 06:55:52 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R346s-0005ee-LZ; Mon, 12 Sep 2011 06:51:30 -0400 In-reply-to: <81d3f6t9jn.fsf@gmail.com> (message from Jambunathan K on Mon, 12 Sep 2011 14:35:48 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 06:56:01 -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:51055 Archived-At: > From: Jambunathan K > Cc: 9480@debbugs.gnu.org > Date: Mon, 12 Sep 2011 14:35:48 +0530 > > | Running git stash show -p stash@{0} . in background... done > `---- > > But in the *vc-git-stash* buffer I see the following message > > ,---- *vc-git-stash* > | '-p stash@0' is not a stash > `---- > > Not the absence of `{' `}' in the error report. I hope that provides > some clue on what the underlying git sees. Yes, I see the problem, but now I wonder how come users of Posix platforms didn't see it. Does it happen if your shell-file-name is set to "sh", not "bash" (assuming the Cygwin Bash comes with such an executable or a link)? Perhaps someone who uses this on Unix or GNU system could try this command and see if it needs quoting in general, not just on Windows with Cygwin Bash.