From: Junio C Hamano Date: Wed, 08 Aug 2007 19:39:03 GMT Subject: Re: git-write-tree strangeness Message-ID: <7vabt14y08.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b0708080910u3aee166fo92ea73a4a0a78ccf@mail.gmail.com> "Alex Riesen" writes: > On 8/8/07, Steven Walter wrote: >> I'm importing a large repository from svn into git with a custom tool, >> and I noticed a strange issue with one of the commits. >> >> Upon investigating further, I found that when I ran "git-write-tree" >> followed immediately by "git-diff-index " I had differences. Does >> that mean that git-write-tree incorrectly recorded the index, or do I >> misunderstand things? > > What kind of differences? Different sha1 of content? > I can't simply reproduce it. Isn't this simply just a dirty worktree and missing --cached option?