From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [PATCH 0/2] Teach org-version to include git version information Date: Wed, 19 Aug 2009 11:04:29 -0400 Message-ID: <10576.1250694269@gamaville.dokosmarshall.org> 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> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdmjn-0001cV-QC for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:06:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdmji-0001XS-AL for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:06:06 -0400 Received: from [199.232.76.173] (port=37696 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdmji-0001X3-5P for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:06:02 -0400 Received: from vms173007pub.verizon.net ([206.46.173.7]:41053) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mdmjh-0007YS-KL for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:06:01 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KOM00H00PV3EPS0@vms173007.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 10:04:20 -0500 (CDT) In-reply-to: Message from Manish of "Wed, 19 Aug 2009 20:21:20 +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: Bernt Hansen , emacs-orgmode@gnu.org 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. HTH, Nick