X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org X-Host-mx2: True Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: git checkout problem Date: Thu, 14 May 2009 15:41:23 -0400 Message-ID: <8F37BF6F420455468C4BD57DD6BE1990063E9450@cobra.pc.cognex.com> In-Reply-To: <8F37BF6F420455468C4BD57DD6BE1990063E9361@cobra.pc.cognex.com> References: <8F37BF6F420455468C4BD57DD6BE1990063E9361 AT cobra DOT pc DOT cognex DOT com> From: "Whitman, Steve" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > I've been using git for a few weeks now and recently ran into a problem > that I just can't workaround. I tried updating to the cygwin 1.7 > release hoping that this would fix the issue but it didn't. I found > that a checkout of a branch "new_file_system" from the master branch (or > vice versa) would result an error that a file can't be unlinked. Below > is the sequence of git commands that I run that cause the problem. This > is the exact sequence of commands that I run: I've performed some additional experiments and I'm starting to believe this is probably not an issue with cygwin (it might be a git on Windows issue). I installed the latest version of msysgit (1.6.3.msysgit.0) and found that I was still having the problem described above. I'm running Windows Vista w/SP1 with UAC enabled. I found that if I turn off UAC the problem went away. Turn UAC on and the problem re-appears. I then tried running bash as an admin and that also seems to resolve the issue. Finally I modified the properties of the bash executable to run in Windows XP w/SP2 compatibility mode and that also seems to resolve this problem even with UAC enabled and running without admin privileges. I'll continue to do some more testing but it appears that I have a reasonable workaround for this issue. - Steve - -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/