Re: [PATCH 2/2] git-gc: skip stashes when expiring reflogs
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 18, 2008, 15:25 UTC
- Message-ID
- <alpine.DEB.1.00.0806181624120.6439@racer>
- In-Reply-To
- <7vej6v683q.fsf@gitster.siamese.dyndns.org>
Hi,
On Tue, 17 Jun 2008, Junio C Hamano wrote:
Show 6 quoted lines
> Of course, > > $ git stash apply stashed-longer > > would work but that is by accident, as at that point what you are feeding > "git stash" command is not really a name of a ref that is a stash.
It would not be by accident. It would work because we designed git-stash to use refs to store working-directory vs index changes, and this command line you wrote was _exactly_ what I intended.
Ciao, Dscho