[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-git-previous-revision and cmd.exe
From: |
Eli Zaretskii |
Subject: |
vc-git-previous-revision and cmd.exe |
Date: |
Mon, 17 Nov 2014 18:51:40 +0200 |
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.
Comments?
- vc-git-previous-revision and cmd.exe,
Eli Zaretskii <=