diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-11-26 16:32:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-22 23:34:24 +0100 |
commit | b3f66fd3e3abeb9183f33f023727e3a53868849d (patch) | |
tree | 39a1f3ef69e1d2cd6e614f1e2ff96070973de739 /utf8.h | |
parent | setup: clean up setup_discovered_git_dir() (diff) | |
download | git-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