Re: [PATCH 5/5] environment.c: fix incorrect git_graft_file initialization

2014-07-23 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > "info/grafts" should be part of the "common repository" when accessed > from a linked checkout (iow $GIT_COMMON_DIR/info/grafts, not > $GIT_DIR/info/grafts). > > git_path("info/grafts") returns correctly, even without this fix, > because it detects that $GIT_GRAFT_

[PATCH 5/5] environment.c: fix incorrect git_graft_file initialization

2014-07-23 Thread Nguyễn Thái Ngọc Duy
"info/grafts" should be part of the "common repository" when accessed from a linked checkout (iow $GIT_COMMON_DIR/info/grafts, not $GIT_DIR/info/grafts). git_path("info/grafts") returns correctly, even without this fix, because it detects that $GIT_GRAFT_FILE is not set, so it goes with the common