Subject: Re: [PATCH v2 1/3] t7700: demonstrate mishandling of objects in packs with a .keep file

From: Andreas Ericsson <[email-masked]>
Date: Tue, 04 Nov 2008 20:17:40 +0100

Brandon Casey wrote:
> From: Brandon Casey <[email-masked]>
> 
> Objects residing in pack files that have an associated .keep file are not
> supposed to be repacked into new pack files, but they are.
> 
> Signed-off-by: Brandon Casey <[email-masked]>
> ---
> 
> 
> This version replaces the use of 'head -n -1' with a grep, and should work on
> all platforms.
> 

sed 1q is faster, as it stops parsing after the first line (the same as 'head
-n 1' does, but in a more portable fashion).

-- 
Andreas Ericsson                   [email-masked]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231