Re: Removing an individual stashed state

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

 



David Kastrup <dak@xxxxxxx> writes:

> Russ Brown <pickscrape@xxxxxxxxx> writes:
>
>> Russ Brown wrote:
>>> Also, I think it would be very handy if there was a switch on stash
>>> apply to tell it to delete the stash once applied, saving a step.
>>> 
>>
>> Just came across another use case that might be nice to have: to be able
>> to delete all stashes that were taken from a given branch.
>
> git has no notion of "given branch", does it? It can map any branch
> head to a particular commit at any given point of time, and any commit
> to one or more parents.  But there is no dependable connection of some
> commit to a particular branch head as far as I can see.

Yes, but that is irrelevant in the scope of this thread isn't it?

As stash entries records which branch the stash was made on as
part of their message, you can tell which ones were created
while on which branch.



-
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