{"thread":{"id":"7716","subject":"checkout Error on cygwin","startedAt":"2007-04-17T13:08:12Z","lastAt":"2007-04-17T15:15:46Z","messageCount":3,"participants":["Joan Ripoll Balaguer","Alex Riesen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"39641","messageId":"5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com","threadId":"7716","inReplyTo":null,"subject":"checkout Error on cygwin","fromName":"Joan Ripoll Balaguer","fromEmail":"joan.ripsa@gmail.com","sentAt":"2007-04-17T13:08:12Z","receivedAt":"2007-04-17T13:08:12Z","isPatch":false,"sender":{"key":"joan.ripsa@gmail.com","avatar":null},"body":"$ git version\ngit version 1.5.1.1.135.gf948\n\n$ git status\n# On branch cajal/20070201\nnothing to commit (working directory clean)\n\n$ git checkout master\n      6 [main] git-read-tree 2640\nC:\\cygwin\\usr\\local\\bin\\git-read-tree.exe: *** fatal error - could not\nload shell32, Win32 error 487\n\nThen:\n\n$ git status\n# On branch cajal/20070201\n# Changed but not updated:\n#   (use \"git add/rm <file>...\" to update what will be committed)\n (A lot of files)\n#\n# Untracked files:\n#   (use \"git add <file>...\" to include in what will be committed)\n#\n (A lot of files)\n\n\nNow I would have an clean status:\n\n$ git reset --hard HEAD\nfatal: unable to create '.git/index.lock': File exists\n\n$ rm .git/index.lock\n\n$ git reset --hard HEAD\n\n$ git status\n# On branch cajal/20070201\n# Untracked files:\n#   (use \"git add <file>...\" to include in what will be committed)\n#\n(A lot of files)\nnothing added to commit but untracked files present (use \"git add\" to track)\n\n$ git clean -x\nRemoving ... (a lot of files)\n\nAny suggestion?\n\n-- \nJoan Ripoll\njoan.ripsa@gmail.com\n"},{"id":"39642","messageId":"5c08a49c0704170611p74f4cb68ja7287bac63ee1a27@mail.gmail.com","threadId":"7716","inReplyTo":"5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com","subject":"Re: checkout Error on cygwin","fromName":"Joan Ripoll Balaguer","fromEmail":"joan.ripsa@gmail.com","sentAt":"2007-04-17T13:11:04Z","receivedAt":"2007-04-17T13:11:04Z","isPatch":false,"sender":{"key":"joan.ripsa@gmail.com","avatar":null},"body":"2007/4/17, Joan Ripoll Balaguer <joan.ripsa@gmail.com>:\n>\n> $ git clean -x\n> Removing ... (a lot of files)\n>\n\nAnd then\n\n$ git status\n# On branch cajal/20070201\nnothing to commit (working directory clean)\n\n-- \nJoan Ripoll\njoan.ripsa@gmail.com\n"},{"id":"39655","messageId":"81b0412b0704170815g77b0a7cdj7dd45d53396660f8@mail.gmail.com","threadId":"7716","inReplyTo":"5c08a49c0704170608s4f643bf6ubc53d521149f2d55@mail.gmail.com","subject":"Re: checkout Error on cygwin","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2007-04-17T15:15:46Z","receivedAt":"2007-04-17T15:15:46Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"On 4/17/07, Joan Ripoll Balaguer <joan.ripsa@gmail.com> wrote:\n>\n> $ git checkout master\n>       6 [main] git-read-tree 2640\n> C:\\cygwin\\usr\\local\\bin\\git-read-tree.exe: *** fatal error - could not\n> load shell32, Win32 error 487\n>\n\nhaven't seen this one yet. Cygwin bug, I'm sure.\nTry \"strace -o cygwin.bug --mask=all git-read-tree master\" and send\nthe output to cygwin maintainers. And a copy to Bill Gates, just for fun.\n"}]}