|
From: | Robert Weiner |
Subject: | Re: Hyperbole implicit buttons for git |
Date: | Wed, 21 Apr 2021 01:09:34 -0400 |
Hi Bob,
Thanks to you and Mats for all the work on Hyperbole.
I'm fascinated by what it can do as it seems to offer a nice blend of power and "transparency" making for a more pleasant interaction inside Emacs.
Doing M-<RET> on the commit ref in *shell* where Hyperbole does kick in then issues...
(cd $DIR; git show $REF)
this does not work using the default cmd.exe on Windows due to at least 2 reasons
* ; does not work. Using && does
* When $DIR contains "~" it does not work and needs to be expanded first.
So on Windows a working command is
(cd "/full/path/to/dir" && git show $REF)
It's ok to use forward slashes in the path on Windows.
The simplest patch would be to always use && on all systems as that should work everywhere. That would leave a remaining patch to handle expanding if necessary. Any thoughts?
Kinds Regards
Richard
[Prev in Thread] | Current Thread | [Next in Thread] |