git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: "Your local changes ... would be overwritten" bug

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 5, 2011, 16:52 UTC
Message-ID
<vpqty8rx774.fsf@bauges.imag.fr>
In-Reply-To
<8362l73qi6.fsf@kalahari.s2.org>
Hannu Koivisto <azure@iki.fi> writes:
> The following script can be used to reproduce the problem:
[...]
I cannot reproduce on Linux.
> I'm running Cygwin git 1.7.5.1 in Windows XP.

Probably a dumb question (from a non-windows-user), but why not use the native Git for windows?

What happens if you run "git status" before running the problematic "git checkout"? (I'm asking because "git status" refreshes the stat-cache, so it may change the result)

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Hannu KoivistoNext: Vijay Lakshminarayanan
Message 2 of 6 in “"Your local changes ... would be overwritten" bug”
  1. Hannu KoivistoSep 5, 2011
  2. Matthieu MoySep 5, 2011
  3. Vijay LakshminarayananSep 5, 2011
  4. Andrew ArdillSep 5, 2011
  5. Clemens BuchacherSep 6, 2011
  6. Hannu KoivistoSep 6, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.