# Git stash bug

2 messages from 2010-07-09 to 2010-07-09. Participants: Anirban Mitra.
Thread: https://gitlist.dev/t/24343

## Anirban Mitra, 2010-07-09 05:35

Subject: Git stash bug
Message-ID: <4C36B520.70105@directi.com>
URL: https://gitlist.dev/e/4C36B520.70105%40directi.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

```

## Anirban Mitra, 2010-07-09 12:15

Subject: Re: Git stash bug
Message-ID: <4C3712D4.8020909@directi.com>
URL: https://gitlist.dev/e/4C3712D4.8020909%40directi.com
In-Reply-To: <4C36B520.70105@directi.com>

```
Hi,

Sorry for the last msg. It seems the behavior happened in a different 
situation then what I described which now I can't reproduce.

-- Anirban

On Friday 09 July 2010 11:05 AM, Anirban Mitra wrote:
> 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

```
