Re: Feature: git stash pop --always-drop

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

 



On Mon, Aug 10, 2015 at 12:50:51PM +0000, Ed Avis wrote:

> An alternative would be for git stash to always print the name of the stash
> it is applying.  Then you can drop it afterwards by name and be sure you got
> the right one.  Printing the name of the stash sounds like a reasonable
> bit of chatter to add anyway, do you agree?

Yeah, I agree that makes sense. We already show something like:

  Dropped refs/stash@{0} (31cb86c3d700d241e315d989f460e3e83f84fa19)

when dropping. Perhaps model the message after that:

  Applying refs/stash@{0} (31cb86c3d700d241e315d989f460e3e83f84fa19)

Or maybe it would be useful to actually show the stash subject, though
the defaults are not very informative (just "WIP on master", and then
some totally irrelevant commit subject).

-Peff
--
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]