Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH] Add missing inside_work_tree setting in setup_git_directory_gently

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:46

Hi,

On Sat, 3 Nov 2007, Nguyễn Thái Ngọc Duy wrote:
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 <redacted>
---
 Updated commit message accordingly
Thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help