From: Mark Levedahl <mlevedahl@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Mark Levedahl <mdl123@verizon.net>,
Git Mailing List <git@vger.kernel.org>,
Ren Scharfe <rene.scharfe@lsrfire.ath.cx>
Subject: Re: [PATCH] (Really) Fix install-doc-quick target
Date: Mon, 06 Aug 2007 21:55:20 -0400 [thread overview]
Message-ID: <46B7D108.20606@gmail.com> (raw)
In-Reply-To: <7vhcnc9lpm.fsf@assigned-by-dhcp.cox.net>
Subject: Re: [PATCH] (Really) Fix install-doc-quick target
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,Mark
Levedahl <mdl123@verizon.net>,Git Mailing List <git@vger.kernel.org>,Ren
Scharfe <rene.scharfe@lsrfire.ath.cx>
Bcc:
Reply-To:
Newsgroup:
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-
Junio C Hamano wrote:
> Mark Levedahl <mlevedahl@gmail.com> writes:
>
>
> How does this sound?
>
> ---
> diff --git a/Documentation/install-doc-quick.sh
b/Documentation/install-doc-quick.sh
> index 07d227f..bc170f0 100755
> --- a/Documentation/install-doc-quick.sh
> +++ b/Documentation/install-doc-quick.sh
> @@ -24,10 +24,10 @@ git read-tree $head
> git checkout-index -a -f --prefix="$mandir"/
>
> if test -n "$GZ"; then
> - cd "$mandir"
> - for i in `git ls-tree -r --name-only $head`
> + git ls-tree -r --name-only $head |
> + while read path
> do
> - gzip < $i > $i.gz && rm $i
> + gzip "$mandir/$path"
> done
> fi
> rm -f "$GIT_INDEX_FILE"
>
>
Maybe this instead, many fewer gzip invocations, happily overwrites the
old man pages already installed...
---
diff --git a/Documentation/install-doc-quick.sh
b/Documentation/install-doc-quick.sh
index 07d227f..45f78fa 100755
--- a/Documentation/install-doc-quick.sh
+++ b/Documentation/install-doc-quick.sh
@@ -24,10 +24,6 @@ git read-tree $head
git checkout-index -a -f --prefix="$mandir"/
if test -n "$GZ"; then
- cd "$mandir"
- for i in `git ls-tree -r --name-only $head`
- do
- gzip < $i > $i.gz && rm $i
- done
+ printf "$mandir/%s\n" $(git ls-tree -r --name-only $head) | xargs
gzip -f
fi
rm -f "$GIT_INDEX_FILE"
next prev parent reply other threads:[~2007-08-07 1:55 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-04 15:07 rc4 - make quick-install-doc is broken Mark Levedahl
2007-08-04 15:38 ` Johannes Schindelin
2007-08-04 16:00 ` Mark Levedahl
2007-08-04 16:04 ` Johannes Schindelin
2007-08-04 16:14 ` Mark Levedahl
2007-08-04 16:21 ` Johannes Schindelin
2007-08-04 17:56 ` Mark Levedahl
2007-08-04 21:32 ` [PATCH] Fix quick-install-doc Johannes Schindelin
2007-08-04 22:09 ` René Scharfe
2007-08-05 7:07 ` [PATCH] Fix install-doc-quick target Junio C Hamano
2007-08-05 13:12 ` Johannes Schindelin
2007-08-05 17:54 ` Junio C Hamano
2007-08-05 18:10 ` Johannes Schindelin
2007-08-05 14:44 ` Johannes Schindelin
2007-08-06 22:43 ` [PATCH] (Really) " Mark Levedahl
2007-08-06 22:50 ` Johannes Schindelin
2007-08-06 23:07 ` Junio C Hamano
2007-08-06 23:38 ` Mark Levedahl
2007-08-06 23:43 ` Johannes Schindelin
2007-08-06 23:49 ` Mark Levedahl
2007-08-07 1:28 ` Junio C Hamano
2007-08-07 1:55 ` Mark Levedahl [this message]
2007-08-07 3:53 ` Junio C Hamano
2007-08-07 13:55 ` René Scharfe
2007-08-07 14:08 ` Johannes Schindelin
2007-08-04 16:08 ` rc4 - make quick-install-doc is broken Mark Levedahl
2007-08-04 16:16 ` Johannes Schindelin
2007-08-04 16:27 ` Mark Levedahl
2007-08-04 20:19 ` René Scharfe
2007-08-04 20:21 ` Johannes Schindelin
2007-08-04 20:45 ` Mark Levedahl
2007-08-04 21:33 ` Johannes Schindelin
2007-08-04 22:09 ` René Scharfe
2007-08-04 22:25 ` Johannes Schindelin
2007-08-04 22:37 ` Johannes Schindelin
2007-08-04 23:03 ` René Scharfe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B7D108.20606@gmail.com \
--to=mlevedahl@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=mdl123@verizon.net \
--cc=rene.scharfe@lsrfire.ath.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.