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 19:46:48 +0530 Message-ID: References: <1250616163-11733-1-git-send-email-bernt@norang.ca> <87tz04yrk0.fsf@gollum.intra.norang.ca> <87prasypiv.fsf@gollum.intra.norang.ca> <87iqgkyoic.fsf@gollum.intra.norang.ca> <87eir8ylni.fsf@gollum.intra.norang.ca> <10259.1250690543@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 1MdlyV-00062F-OD for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 10:17:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdlyQ-0005z5-2m for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 10:17:14 -0400 Received: from [199.232.76.173] (port=43936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdlyP-0005z2-Om for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 10:17:09 -0400 Received: from mail-yx0-f172.google.com ([209.85.210.172]:44632) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdlyO-00080J-Tm for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 10:17:09 -0400 Received: by yxe2 with SMTP id 2so5822131yxe.14 for ; Wed, 19 Aug 2009 07:17:08 -0700 (PDT) In-Reply-To: <10259.1250690543@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 7:32 PM, Nick Dokos wrote: > Bernt Hansen wrote: > > ... >> (shell-command (concat "GITDIR=" dir " && git describe --abbrev=4 HEAD")) > ... > > Disclaimer: I touch Windows once a day to check a mail account and > possibly surf the web - other than that, I'm pretty much at sea in it > (and I've never used emacs on Windows, let alone install git on it.) > Please excuse the elementary questions. > > How does shell-command work under Windows? No idea. > What shell is it using? Windows has it's own CMD shell (CMD.exe). > Is cygwin a prerequisite for it? Prerequisite for CMD? No. CMD is native and comes with Windows. > Is cygwin a prerequisite for git? Native git on Windows was reported to have issues quite sometime back. I read somewhere that the situation is much better now. Cygwin git has always worked for me without any issues. -- Manish