Re: [PATCH 2/2] git-gc: skip stashes when expiring reflogs

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

 



On Wed, Jun 11, 2008 at 10:44:17PM +0100, Johannes Schindelin wrote:

> FWIW I thought it was one of the clever designs of git-stash that it 
> automatically expires together with the other reflogs.  A stash is only a 
> temporary thing, that is not even meant to leave the local repository, 
> after all.

I agree. If you are concerned about valuable stashes getting deleted, my
guess is one of:

  - you would like reflog expiration to be longer

  - you are using stash as a long-term storage, which it was never
    intended for. Use a branch.

The latter, of course, is based on my use and my impression of others
use (I almost always apply a stash within 30 seconds of having stashed
it). So maybe everyone is keeping stashes around for months, and this is
a useful change.

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

  Powered by Linux