diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2007-11-03 20:18:06 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-03 21:47:13 -0700 |
commit | 1e8a1954519a070e92cb73f756b271664e1cc4d1 (patch) | |
tree | 0e9ee649c9fbbb232b904f6f8f8071feadc37e68 /git-archimport.perl | |
parent | RelNotes-1.5.3.5: fix typo (diff) | |
download | tgif-1e8a1954519a070e92cb73f756b271664e1cc4d1.tar.xz |
Add missing inside_work_tree setting in setup_git_directory_gently
When both GIT_DIR and GIT_WORK_TREE are set, and
setup_git_directory_gently() changes the current working
directory accordingly, it should also set inside_work_tree = 1.
Without this, work_tree handling code in setup_git_directory()
will be activated. If you stay in root work tree (no prefix),
it does not harm. It does if you work from a subdirectory though.
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-archimport.perl')
0 files changed, 0 insertions, 0 deletions