[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-git-previous-revision and cmd.exe
From: |
Eli Zaretskii |
Subject: |
Re: vc-git-previous-revision and cmd.exe |
Date: |
Fri, 21 Nov 2014 12:36:53 +0200 |
> Date: Mon, 17 Nov 2014 18:51:40 +0200
> From: Eli Zaretskii <address@hidden>
>
> 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).
>
> Can we use "~1" instead? If that's bad for Unix, we can do that only
> on Windows.
Pushed a change to that effect to emacs-24.