GNU bug report logs - #9480
24.0.50; (vc-git) stash@{n} - requires shell quoting?

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 12 Sep 2011 07:15:01 UTC

Severity: normal

Merged with 9784

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 9480 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 9480 <at> debbugs.gnu.org
Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting?
Date: Tue, 13 Sep 2011 10:44:02 +0530
> I wasn't able to reproduce it with Bash on a GNU system, either, but I
> thought I was missing something.  Neither do I see any special
> handling of the braces in the w32-specific parts of Emacs.

> So it's a mystery why this happens with the Cygwin Bash.  Jambunathan,
> could you perhaps post a question to the Cygwin mailing list?

If I open my regular Cygwin/XTerm [1] and type the command as you see
below (What you see is what I have typed) it reports the stash
correctly.

,---- From regular Cygwin/Xterm 
| $ git stash show -p stash@{0}
| diff --git a/Makefile b/Makefile
| index ce419c1..7183545 100644
| --- a/Makefile
| +++ b/Makefile
`----

It does seem like Emacs is messing up before handing over things.

That said, let me do some more debugging before I follow it up with
Cygwin folks.

Footnotes: 
[1]  This is launched like this:
C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -fg green  -bg black  -sb
-sl 1000 -geom  80x15   -display 127.0.0.1:0.0 -ls






This bug report was last modified 13 years and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.