Re: [PATCH 3/8] Clean up work-tree handling
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 29, 2007, 15:53 UTC
- Message-ID
- <Pine.LNX.4.64.0707291645580.14781@racer.site>
- In-Reply-To
- <7vlkd1umwf.fsf@assigned-by-dhcp.cox.net>
Hi,
I still have a problem with what should happen if both "core.bare == true" and "core.worktree = /some/where/over/the/rainbow". Should it be bare, or should it have a working tree?
So here is what I plan to support so far:
--work-tree= overrides GIT_WORK_TREE, which overrides core.worktree, which overrides core.bare, which overrides GIT_DIR/.. when GIT_DIR ends in /.git, which overrides the directory in which .git/ was found.
Does that look okay?
Ciao, Dscho