# checkout Error on cygwin

3 messages from 2007-04-17 to 2007-04-17. Participants: Joan Ripoll Balaguer, Alex Riesen.
Thread: https://gitlist.dev/t/7716

## Joan Ripoll Balaguer, 2007-04-17 13:08

Subject: checkout Error on cygwin
Message-ID: <5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com>
URL: https://gitlist.dev/e/5c08a49c0704170608s4f643bf6ubc53d521149f2d55%40mail.gmail.com

```
$ git version
git version 1.5.1.1.135.gf948

$ git status
# On branch cajal/20070201
nothing to commit (working directory clean)

$ git checkout master
      6 [main] git-read-tree 2640
C:\cygwin\usr\local\bin\git-read-tree.exe: *** fatal error - could not
load shell32, Win32 error 487

Then:

$ git status
# On branch cajal/20070201
# Changed but not updated:
#   (use "git add/rm <file>..." to update what will be committed)
 (A lot of files)
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
 (A lot of files)


Now I would have an clean status:

$ git reset --hard HEAD
fatal: unable to create '.git/index.lock': File exists

$ rm .git/index.lock

$ git reset --hard HEAD

$ git status
# On branch cajal/20070201
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
(A lot of files)
nothing added to commit but untracked files present (use "git add" to track)

$ git clean -x
Removing ... (a lot of files)

Any suggestion?

-- 
Joan Ripoll
joan.ripsa@gmail.com

```

## Joan Ripoll Balaguer, 2007-04-17 13:11

Subject: Re: checkout Error on cygwin
Message-ID: <5c08a49c0704170611p74f4cb68ja7287bac63ee1a27@mail.gmail.com>
URL: https://gitlist.dev/e/5c08a49c0704170611p74f4cb68ja7287bac63ee1a27%40mail.gmail.com
In-Reply-To: <5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com>

```
2007/4/17, Joan Ripoll Balaguer <joan.ripsa@gmail.com>:
>
> $ git clean -x
> Removing ... (a lot of files)
>

And then

$ git status
# On branch cajal/20070201
nothing to commit (working directory clean)

-- 
Joan Ripoll
joan.ripsa@gmail.com

```

## Alex Riesen, 2007-04-17 15:15

Subject: Re: checkout Error on cygwin
Message-ID: <81b0412b0704170815g77b0a7cdj7dd45d53396660f8@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0704170815g77b0a7cdj7dd45d53396660f8%40mail.gmail.com
In-Reply-To: <5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com>

```
On 4/17/07, Joan Ripoll Balaguer <joan.ripsa@gmail.com> wrote:
>
> $ git checkout master
>       6 [main] git-read-tree 2640
> C:\cygwin\usr\local\bin\git-read-tree.exe: *** fatal error - could not
> load shell32, Win32 error 487
>

haven't seen this one yet. Cygwin bug, I'm sure.
Try "strace -o cygwin.bug --mask=all git-read-tree master" and send
the output to cygwin maintainers. And a copy to Bill Gates, just for fun.

```
