From: Eric Wong Date: Thu, 27 May 2010 21:04:19 GMT Subject: Re: Git svn rebase/dcommit break (index) if not run from directory containing ./.git Message-ID: <20100527210419.GB2291@dcvr.yhbt.net> In-Reply-To: Matthias Andree wrote: > Am 26.05.2010, 20:51 Uhr, schrieb Eric Wong: >> Matthias Andree wrote: >>> [resending this with new Subject since there wasn't a reply in 33 days, >>> cc:ing Eric] >>> >>> === Reproduce === >>> >>> 1. Use a git-svn checkout that has at least one subdirectory >>> >>> 2. cd to that subdirectory >>> >>> 3. run git svn rebase. It concludes successfully, then: >>> >>> 4. git diff-index HEAD -> output like the one shown above. >>> >>> This is on Cygwin 1.7.5 w/ Windows 7 32-bit professional German. >> >> Hi Matthias, >> >> I can't reproduce this on a GNU/Linux system, so I'm guessing this >> is a weird Cygwin/Windows issue, and I don't know Windows. > > Do you deem it possible to have the workaround applied in code, i. e. > change to the top-level directory up front? "git rebase" (invoked by "git svn") already does that. This could be a bug in "git rebase" itself... > If not, any hints as to debugging facilities and procedures beyond > GIT_TRACE? Well I usually use "strace -f", but that's Linux-only. Maybe there's something similar for Cygwin. -- Eric Wong