From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [PATCH 0/2] org-version fix for windows Date: Wed, 19 Aug 2009 16:06:16 -0400 Message-ID: <1250712378-16345-1-git-send-email-bernt@norang.ca> References: <87vdkju8lc.fsf@gollum.intra.norang.ca> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdrQv-0007CW-3W for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 16:06:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdrQq-00078B-FN for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 16:06:56 -0400 Received: from [199.232.76.173] (port=56771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdrQq-00077x-6e for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 16:06:52 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:58289) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdrQp-0005AC-6L for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 16:06:51 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MdrQk-000P3m-7H for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 20:06:46 +0000 In-Reply-To: <87vdkju8lc.fsf@gollum.intra.norang.ca> 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: emacs-orgmode@gnu.org Cc: Bernt Hansen Here are two patches which fix org-version for windows. This should handle cygwin and msysGit where git is installed for use by the default Windows command shell. This does not currently support msysGit where git is not installed in the user's PATH. The series is available at git://git.norang.ca/org-mode for-carsten Bernt Hansen (2): Use lisp cd function to change directories to avoid shell dependencies Skip git-version determination if git command fails lisp/org.el | 42 +++++++++++++++++++++++------------------- 1 files changed, 23 insertions(+), 19 deletions(-)