summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-26 16:32:39 +0100
committerJunio C Hamano <gitster@pobox.com>2010-12-22 23:34:24 +0100
commitb3f66fd3e3abeb9183f33f023727e3a53868849d (patch)
tree39a1f3ef69e1d2cd6e614f1e2ff96070973de739 /utf8.h
parentsetup: clean up setup_discovered_git_dir() (diff)
downloadgit-b3f66fd3e3abeb9183f33f023727e3a53868849d.tar.xz
git-b3f66fd3e3abeb9183f33f023727e3a53868849d.zip
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 'utf8.h')
0 files changed, 0 insertions, 0 deletions