From: Johannes Schindelin Date: Tue, 07 Aug 2007 14:08:43 GMT Subject: Re: [PATCH] (Really) Fix install-doc-quick target Message-ID: In-Reply-To: <46B879DB.4090504@lsrfire.ath.cx> Hi, On Tue, 7 Aug 2007, Ren? Scharfe wrote: > Junio C Hamano schrieb: > > Mark Levedahl writes: > > > >> + printf "$mandir/%s\n" $(git ls-tree -r --name-only $head) | xargs > >> gzip -f > > > > No risk that ls-tree output is too long to fit within the exec > > args limit to run printf? > > Perhaps this instead? > > git ls-tree -r --name-only $head | (cd "$mandir" && xargs gzip -f) I would have done git ls-tree -r --name-only $head | sed "s|^|$mandir|" | xargs gzip -f but I like your version better. Thanks for teaching me, Dscho