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

Git stash bug

From
AMAnirban Mitra <anirban.m@directi.com>
Date
Jul 9, 2010, 05:35 UTC
Message-ID
<4C36B520.70105@directi.com>
Hi,

I ran into a git stash bug. I added a new project config file used by the IDE in a commit and later reverted the commit. But the same file again created by the IDE and now when I use git stash that file changes are also stashed. When I try stash pop, it complains that the file will be overwritten and aborts.

I did not expect this because I have reverted the commit adding the file. Is it intended behaviour? Am I missing something or is this a known bug and will be fixed in later releases? I am using Git version 1.7.0.4.

-- Anirban
Next: Anirban Mitra
Message 1 of 2 in “Git stash bug”
  1. Anirban MitraJul 9, 2010
  2. Anirban MitraJul 9, 2010

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.