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

Re: Surprise at git stash pop

From
BCBrandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
Date
Jul 25, 2011, 17:55 UTC
Message-ID
<5fuhYLPOf07EnF5c5gyqAvbP3UZl6m72FicTS5tZnr3K8vTH5UoLkA@cipher.nrlssc.navy.mil>
In-Reply-To
<CAG3eYYRdvi-JdPfZmH_1EhEpjdweZFc6NS54btEz0nWy=O3+vA@mail.gmail.com>
On 07/25/2011 10:45 AM, Péter András Felvégi wrote:
> Hello,
> 
> 'git stash pop' erased my local modifications, but not all of them.
Hi,
I cannot reproduce this.  What version of git are you using?

Can you produce a test case? This could be a test repo that you can share or a sequence of commands to produce such a repo like:

   git init &&
   echo 'Some content' >build-configs.def &&
   mkdir -p 'server/plugins-src/ads' &&
   echo 'Some other content' >server/plugins-src/ads/AdsPlugin.hpp &&
   ...
   git add . &&
   git commit -m 'initial commit' &&
   echo 'Some new content for build-configs' >>build-configs.def &&
   ...
   git stash pop
   # Error situation

Thanks, -Brandon

Previous: Péter András FelvégiNext: Péter András Felvégi
Message 2 of 3 in “Surprise at git stash pop”
  1. Péter András FelvégiJul 25, 2011
  2. Brandon CaseyJul 25, 2011
  3. Péter András FelvégiJul 26, 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.