From: Johannes Sixt Date: Thu, 15 Nov 2007 08:27:37 GMT Subject: Re: [PATCH v2] Bisect reset: remove bisect refs that may have been packed. 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