Re: git fast-import / working tree status question
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Feb 19, 2010, 23:40 UTC
- Message-ID
- <ec874dac1002191540p343889d7v5f14876cf0df14c8@mail.gmail.com>
- In-Reply-To
- <fc5ef2e01002191520u7b50c98fo3a3defe70e31292a@mail.gmail.com>
On Fri, Feb 19, 2010 at 3:20 PM, Mike Fleetwood <mike.fleetwood@googlemail.com> wrote:
Show 8 quoted lines
> I am a newbie using git and I am testing conversion of a personal > project into git using fast-import. When fast-import completes > all the files are in the repository but the working tree is empty > and status reports all files are delete but uncommitted. I have > to use reset --hard HEAD to unwind the pending removal of all of > the files. Example below. > > Is this normal or have I missed something?
Completely normal. fast-import is a lower level command which only works on the object directory. Frontend tools which automate the conversion are supposed to checkout the working tree files after the import is complete. Or, run like you did, `git reset --hard HEAD`.