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