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:16:51 -0400 Message-ID: <873a7nvnoc.fsf@gollum.intra.norang.ca> References: <1250616163-11733-1-git-send-email-bernt@norang.ca> <87iqgkyoic.fsf@gollum.intra.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> 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 1MdmuK-0006wl-Rk for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:17:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdmuG-0006wS-Cn for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:16:59 -0400 Received: from [199.232.76.173] (port=39632 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdmuG-0006wP-7O for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:16:56 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:62083) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdmuF-0003C8-R6 for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:16:56 -0400 In-Reply-To: <10576.1250694269@gamaville.dokosmarshall.org> (Nick Dokos's message of "Wed\, 19 Aug 2009 11\:04\:29 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Manish 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