summaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-26 22:32:39 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-22 14:34:24 -0800
commitb3f66fd3e3abeb9183f33f023727e3a53868849d (patch)
tree39a1f3ef69e1d2cd6e614f1e2ff96070973de739 /git-lost-found.sh
parentsetup: clean up setup_discovered_git_dir() (diff)
downloadtgif-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 'git-lost-found.sh')
0 files changed, 0 insertions, 0 deletions