The recent work-tree cleanups exposed that the install-doc-quick script was relying on a strange behaviour predating the work-tree series: when setting a GIT_DIR, it was assumed that the current working directory is the root of the working tree. The recent work-tree series changed that behaviour: now that you can set the work tree explicitely, the work tree root defaults to $GIT_DIR/.. if $GIT_DIR has a /.git suffix when that is a parent directory of the current working directory. Noticed by Mark Levedahl. Diagnosed by Junio Hamano. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- Junio, I did it slightly differently from what I said on IRC: setting the work-tree with "--work-tree" does not work as expected. Will fix. 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 e6601bd..5c8b604 100755 --- a/Documentation/install-doc-quick.sh +++ b/Documentation/install-doc-quick.sh @@ -19,7 +19,7 @@ GIT_INDEX_FILE=`pwd`/.quick-doc.index export GIT_INDEX_FILE rm -f "$GIT_INDEX_FILE" git read-tree $head -git checkout-index -a -f --prefix="$mandir"/ +(cd "$mandir"; git checkout-index -a -f) if test -n "$GZ"; then cd "$mandir" -- 1.5.3.rc4.1.g7805 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Jeff Garzik | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Emmanuel Dreyfus | fixing send(2) semantics (kern/29750) |
| Christos Zoulas | Re: Melting down your network [Subject changed] |
| Juan RP | Changing the I/O scheduler on-the-fly |
| Emmanuel Dreyfus | Re: fixing send(2) semantics (kern/29750) |
