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

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.
> >
Previous: Marce RomagnoliNext: Marce Romagnoli
Message 4 of 5 in “Fwd: `git stash pop -q` is deleting files.”
  1. Marce RomagnoliDec 16, 2019
  2. Junio C HamanoDec 16, 2019
  3. Marce RomagnoliDec 17, 2019
  4. Thomas GummererDec 17, 2019
  5. Marce RomagnoliDec 17, 2019

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.