|
From: | Bernt Hansen |
Subject: | Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information |
Date: | Wed, 19 Aug 2009 11:16:51 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Nick Dokos <address@hidden> writes: > Manish <address@hidden> wrote: > > >> ... >> Do we test if git is installed if we are on a non-Windows system or >> show whatever error shell returns in case git is not installed? >> >> I tried calling cygwin git from CMD shell and it seems to work okay. >> So I am guessing we need to figure out how to correctly pass git >> command from Emacs to Windows shell. I will try to find examples from >> Org's PDF processing code. >> > > Bernt's code checks for the existence of the .git subdirectory > in the parent directory of wherever emacs get the org.el[c] library: > if it's present, then the assumption is that git is installed. Well maybe. I have an older version of Emacs 23 installed on my windows Eee PC system and I have msysGit installed (not cygwin git) but it's not available to the shell as a command. Nothing prevents me from running org-mode from a git repository there. -Bernt
[Prev in Thread] | Current Thread | [Next in Thread] |