From: René Scharfe Date: Sun, 25 Oct 2020 15:42:20 GMT Subject: Re: [bug] Stashes lost after out-of-memory situation Message-ID: <22f34328-1e87-aa4b-3893-564dff1fb893@web.de> In-Reply-To: <5a3db65b-1877-c5be-8077-2926637fba6e@virtuell-zuhause.de> Am 25.10.20 um 13:27 schrieb Thomas Braun: > On 10/24/2020 7:06 PM, René Scharfe wrote: > > [...] > >> Looks like stash calls rev-parse to see if a >> stash pop removed the last stash and in that case proceeds to delete the >> stash ref and its reflog > > I was a bit suprised to learn that removing the last stash entry also > removes it from the reflog. > > Wouldn't it be more convenient if it would be kept in the reflog even > after popping? The log of the stash ref is separate from the normal reflog. Popping a stash doesn't remove anything from the latter. René