From: Brian Swetland Date: Fri, 04 Jan 2008 19:36:30 GMT Subject: Re: [PATCH] git stash: one bug and one feature request Message-ID: <20080104193630.GA26843@bulgaria.corp.google.com> In-Reply-To: [Jakub Narebski ] > Pascal Obry writes: > > Brandon Casey a écrit : > > > > > > Not sure how often such a command would be used though, so > > > it may not be worth it. > > > > I've missed it many times. Especially in some scripts when I want to use > > the stash-stack to store current working tree and clear it before > > exiting. This is not possible today as all the stash-stack would be cleared. > > > > I agree that drop seems better. > > or "git stash delete" Something like drop or delete would be nice. I tried to "clear" a single stash once. Oops! Is there a reason that git stash apply couldn't take a small integer as the argument (at least as an alternative) instead of stash@{0}, etc? Brian