Re: Fwd: `git stash pop -q` is deleting files.
- From
Thomas Gummerer <t.gummerer@gmail.com>
- Date
- Dec 17, 2019, 13:59 UTC
- Message-ID
- <20191217135945.GA5103@cat>
- In-Reply-To
- <CA+0NiBGQHK_bVdH11zRErxNTjvyU-SqJYj=CHZy3afm47+reYA@mail.gmail.com>
[please don't top-post on this list]
On 12/17, Marce Romagnoli wrote:
> But it seems is still happening to me in 2.24.1 -latest-
It being in master doesn't mean it has made it into a release yet, though it means it will in the future. So you have a couple of options in the meantime:
- Compile Git yourself from the 'master' branch
- Go back to an older version of git. v2.23 didn't have this
problem, but it had a different issue that I was trying to fix in
34933d0eff ("stash: make sure to write refreshed cache",
2019-09-11), but where this bug was introduced.
- set the stash.useBuiltin configuration option to false, which will
make you use the legacy stash written as a shell script. This
also shouldn't have this bug.Show 9 quoted lines
> El lun., 16 dic. 2019 a las 20:13, Junio C Hamano > (<gitster@pobox.com>) escribió: > > > > I think this has already been fixed with > > > > http://lore.kernel.org/git/20191113150136.GB3047@cat > > > > at the tip of 'master' a few weeks ago. > >