Re: [PATCH 2/2] reflog: ignore expire-unreachable for "HEAD" reflog
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 15, 2010, 07:40 UTC
- Message-ID
- <7vochlkvtg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4BC6B5FF.6030406@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
> Does not help what? What is the problem?
You will lose the record from HEAD reflog that records the fact that you were at the tip of "next" less than "reflogexpire" but more than "reflogexpireunreachable" time ago, if you run "gc" while on "master".
Such a pruning does not have much to do with the real reason why expireunreachable would be a useful thing (namely, to prune failed histories that have been rewound away faster than the history that survived from reflog of individual branches).