Re: Git svn rebase/dcommit break (index) if not run from directory containing ./.git
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- May 27, 2010, 21:04 UTC
- Message-ID
- <20100527210419.GB2291@dcvr.yhbt.net>
- In-Reply-To
- <op.vdcugytd1e62zd@merlin.emma.line.org>
Matthias Andree <matthias.andree@gmx.de> wrote:
Show 24 quoted lines
> Am 26.05.2010, 20:51 Uhr, schrieb Eric Wong: >> Matthias Andree <matthias.andree@gmx.de> 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