Am 28.09.2014 um 03:22 schrieb Nguyễn Thái Ngọc Duy:
> +test_expect_success 'GIT_DIR set (2)' '
> + echo "gitdir: repo.git/repos/foo" >gitfile &&
> + echo "$TRASH_DIRECTORY/repo.git" >repo.git/repos/foo/commondir &&
> + (
> + cd work &&
> + GIT_DIR=../gitfile git
The repo setup procedure is updated to detect $GIT_DIR/commondir and
set $GIT_COMMON_DIR properly.
The core.worktree is ignored when $GIT_COMMON_DIR is set. This is
because the config file is shared in multi-checkout setup, but
checkout directories _are_ different. Making core.worktree effective
i
2 matches
Mail list logo