Re: Removing an individual stashed state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/11/07, David Kastrup <dak@xxxxxxx> wrote:
> It's the equivalent of not moving done work from the "IN" pile.  At
> some point of time you don't remember which of the stashes you already
> did fold back, and which you didn't.

Exactly my experience.

> So it is quite natural to expect a stash to be gone after applying it.
> The first surprise is that it is still there.

That's not so bad -- I didn't expect it to be gone.

> And the second surprise, sure to follow, is that trying to remove a
> single stash, by any command that _starts_ with git-stash clear (even
> if followed explicitly by a stash specification) will remove _all_
> stashes.

Not exactly that one, but I've had similar ones... I guessed or
mistyped a few stash commands and it decided it was a stash "name", so
stashed it. I'm happy that I didn't try clear like you did (ouch!).

So yeah, stash tries to be too helpful in quite surprising ways.

cheers,



martin
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux