Re: [PATCH v2] Bisect reset: remove bisect refs that may have been packed.
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Nov 15, 2007, 08:27 UTC
- Message-ID
- <473C02F9.4020402@viscovery.net>
- In-Reply-To
- <7vwssj6hw8.fsf@gitster.siamese.dyndns.org>
Junio C Hamano schrieb:
> + git for-each-ref --format='%(refname) %(objectname)' refs/bisect/\* refs/heads/bisect | > + while read ref hash
If you also swap %(refname) and %(objectname), then this is also not prone to whitespace in refnames. (Yes, I know, there shouldn't be such, but...)
-- Hannes