emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-git-previous-revision and cmd.exe


From: Andreas Schwab
Subject: Re: vc-git-previous-revision and cmd.exe
Date: Mon, 17 Nov 2014 18:55:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> vc-git-previous-revision appends "^" to a revision to get the previous
> one.  But "^" is a special character for the Windows cmd.exe shell, so
> 'D' in the *vc-change-log* buffer doesn't work if the 'git' command is
> actually a batch file that invokes the real Git executable, in which
> case we call cmd.exe to run the batch file, and cmd.exe removes the ^
> (because it's the escape character).

Why is that a problem?  process-file should properly quote the arguments
when it needs to go through a shell.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]