From: Mark Levedahl Date: Mon, 06 Aug 2007 22:43:14 GMT Subject: [PATCH] (Really) Fix install-doc-quick target Message-ID: <11864401942772-git-send-email-mdl123@verizon.net> In-Reply-To: <7vmyx6fohv.fsf_-_@assigned-by-dhcp.cox.net> Commit 00d8c51 caused git-ls-tree to be invoked from a directory where GIT_DIR cannot be found and without that variable being set. Signed-off-by: Mark Levedahl --- Documentation/install-doc-quick.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/install-doc-quick.sh b/Documentation/install-doc-quick.sh index 07d227f..a0164fb 100755 --- a/Documentation/install-doc-quick.sh +++ b/Documentation/install-doc-quick.sh @@ -25,7 +25,7 @@ git checkout-index -a -f --prefix="$mandir"/ if test -n "$GZ"; then cd "$mandir" - for i in `git ls-tree -r --name-only $head` + for i in `git --git-dir="$GIT_DIR" ls-tree -r --name-only $head` do gzip < $i > $i.gz && rm $i done -- 1.5.3.rc4.5.g4f0b5