From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [PATCH 0/2] Teach org-version to include git version information Date: Wed, 19 Aug 2009 11:27:59 -0400 Message-ID: <87vdkju8lc.fsf@gollum.intra.norang.ca> References: <1250616163-11733-1-git-send-email-bernt@norang.ca> <87eir8ylni.fsf@gollum.intra.norang.ca> <10259.1250690543@gamaville.dokosmarshall.org> <10437.1250692180@gamaville.dokosmarshall.org> <87ws4zyifb.fsf@gollum.intra.norang.ca> <10576.1250694269@gamaville.dokosmarshall.org> <873a7nvnoc.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdn59-00053D-8Y for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:28:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdn55-0004sV-CI for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:28:10 -0400 Received: from [199.232.76.173] (port=44360 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdn55-0004sH-4Z for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:28:07 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:59957) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mdn54-0006Ex-Bp for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:28:06 -0400 In-Reply-To: (Manish's message of "Wed\, 19 Aug 2009 20\:53\:22 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manish Cc: emacs-orgmode@gnu.org Manish 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