aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-26 22:32:39 +0700
committerJunio C Hamano <gitster@pobox.com>2010-12-22 14:34:24 -0800
commitb3f66fd3e3abeb9183f33f023727e3a53868849d (patch)
tree39a1f3ef69e1d2cd6e614f1e2ff96070973de739 /builtin
parent9951d3b37ec7298384640b11d07a990ef031fe83 (diff)
downloadgit-b3f66fd3e3abeb9183f33f023727e3a53868849d.tar.gz
git-b3f66fd3e3abeb9183f33f023727e3a53868849d.tar.xz
setup: rework setup_explicit_git_dir()
This function is the most complex one among the three setup_* functions because all GIT_DIR, GIT_WORK_TREE, core.worktree and core.bare are involved. Because core.worktree is only effective inside setup_explicit_git_dir() and the extra code in setup_git_directory() is to handle that. The extra code can now be retired. Also note that setup_explicit assignment is removed, worktree setting is no longer decided by get_git_work_tree(). get_git_work_tree() will be simplified in the next commit. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions