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

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

 



On Thu, Jun 12, 2008 at 1:51 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Perhaps
>
>  http://thread.gmane.org/gmane.comp.version-control.git/84665/focus=84670
>
> The user explicitly asks to stash it for a while, where the definition of
> the "while" comes from reflog's retention period.

But that doesn't answer the basic question as to why it's ok
to trash data that the user explicitly asked git to save?

The fact that stash is implemented in terms of reflogs seems irrelevant to me.
If stash were implemented via branches and cherry picking would it still be
natural to automatically expire them?

At the very least the man page might want to mention the temporary nature
of stashes.  Better yet when 'git stash' could print that out when creating
the stash, eh?

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