Re: [PATCH v2 1/3] t7700: demonstrate mishandling of objects in packs with a .keep file
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 4, 2008, 20:21 UTC
- Message-ID
- <4910AEBB.30404@op5.se>
- In-Reply-To
- <V78jOMhdYwpSlLU-YzsqEHZxJyrvKbXRQbKsuNPZOEtB8E0kZ5Wi7Q@cipher.nrlssc.navy.mil>
Brandon Casey wrote:
Show 21 quoted lines
> Andreas Ericsson wrote: >> Brandon Casey wrote: >>> From: Brandon Casey <drafnel@gmail.com> >>> >>> 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 <casey@nrlssc.navy.mil> >>> --- >>> >>> >>> 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). > > Except that I wanted all but the _last_ line though. >
Ach pooie. That's what I get for trying to review stuff while watching old 70's samurai movies. I misread your 'head' command.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231