delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4EFB9714.2070103@bopp.net> |
Date: | Wed, 28 Dec 2011 16:24:20 -0600 |
From: | Jeremy Bopp <jeremy AT bopp DOT net> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Distributed Git not compiled under Cygwin? |
References: | <33047124 DOT post AT talk DOT nabble DOT com> <4EFB8FC1 DOT 7060307 AT bopp DOT net> |
In-Reply-To: | <4EFB8FC1.7060307@bopp.net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 12/28/2011 03:53 PM, Jeremy Bopp wrote: > I also remember reading somewhere once that you should be able create a > configuration template that would be used by new repositories created by > git init or git clone that can set the property as you need. I can't > find any links for that at the moment though. :-/ The manpages for git init and git clone have the information about the template directory. See the --template option for both commands. Sadly, neither this option nor the system-wide /etc/gitconfig file will work in this case because apparently core.filemode is always set in the local config for the repository being created as determined by the build time settings. This overrides the setting from the template as well as the system-wide setting in /etc/gitconfig. I don't see any way around this except to either build your own Git that doesn't include the Cygwin changes or run a git config command to set core.filemode after cloning or initializing a repository. Sorry if I got your hopes up. Hopefully, the Cygwin changes aren't really a problem for you. -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |