emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version infor


From: Bernt Hansen
Subject: Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information
Date: Wed, 19 Aug 2009 11:27:59 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Manish <address@hidden> writes:

> On Wed, Aug 19, 2009 at 8:46 PM, Bernt Hansen wrote:
>> Nick Dokos writes:
>>
> [...]
>>>
>>> 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.
>
> It should be, I think.  May be it's not added to PATH environment variable?
> You can set it up like so:
>
> 1. Right-click on "My Computer", click "Properties"
> 2. Click on "Advanced" tab
> 3. Click "Environment Variables" button
> 4. Add the path to git binary under System or User PATH variable.
> 5. Restart Emacs and test again.

The msysGit installation gives a choice to include the git executables
in the path or not.  I'm not sure what the current state of that is but
they used to recommend _not_ installing it for cmd.exe so we can't
assume that it's available.

I can probably find the msysgit shell if it's available and run that
instead.

-Bernt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]