Re: What's cooking in git.git (topics)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 29, 2007, 00:02 UTC
- Message-ID
- <7vmyyjmxv8.fsf@assigned-by-dhcp.pobox.com>
- In-Reply-To
- <20070628202321.GA13263@moooo.ath.cx>
Matthias Lederhofer <matled@gmx.net> writes:
Show 11 quoted lines
> When doing more stuff in receive-pack old hooks might stop working > break. > > For example receive-pack could set up GIT_WORK_TREE with a sane > default value if a working tree can be found, i.e. > $ export GIT_WORK_TREE=$(dirname $(pwd)) > if the working tree is in the parent directory > $ export GIT_WORK_TREE=$(git config core.worktree) > if core.worktree is set and otherwise GIT_WORK_TREE is not exported. > This way hooks can just use GIT_WORK_TREE for the working tree if > they don't need anything special.
Your analysis looks good. Probably we can start without doing anything to see if anybody screams.