On 02/14/2012 03:29 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13/02/12 21:50, Richard Heck wrote:
On 02/13/2012 03:29 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I would ike to use git and it was mentioned here that one can
customize the stdmenus.inc file so that the VC commands use git.
Not so far as I know. LyX does not have native support for git. It
could be added, but last time I asked there were some issues that
would need resolving. E.g., what "check-in" means in git is very
different from what it means in svn.
I am aware that it is not natively supported - but from time to time
it is mentioned that what one can do is to "define your own commands
by using the vc-command lfuns in the stdmenus file" (Vincent from
Ravenstein in the thread "LyX version control with git")
So is it possible or not?
I'd not seen vc-command before, but it seems to work like a general
shell escape. I'm not entirely sure it's a good idea, since
vc-command U $$p "rm *"
will work perfectly well. See Help>LyX Functions.
Richard