From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: [PATCH 0/2] Teach org-version to include git version information Date: Wed, 19 Aug 2009 20:40:24 +0530 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdmoM-0005H8-2N for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:10:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdmoH-0005F9-Hw for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:10:49 -0400 Received: from [199.232.76.173] (port=50584 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdmoH-0005F3-8w for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:10:45 -0400 Received: from mail-yx0-f172.google.com ([209.85.210.172]:35198) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdmoG-0001OE-Hz for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 11:10:44 -0400 Received: by yxe2 with SMTP id 2so5869659yxe.14 for ; Wed, 19 Aug 2009 08:10:44 -0700 (PDT) In-Reply-To: <10576.1250694269@gamaville.dokosmarshall.org> 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: Bernt Hansen , emacs-orgmode@gnu.org On Wed, Aug 19, 2009 at 8:34 PM, Nick Dokos wrote: > 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. Yeah.. that makes sense. Thanks -- Manish