Re: [PATCH v3 07/25] reflog: avoid constructing .lock path with git_path

2014-03-03 Thread Junio C Hamano
Duy Nguyen writes: > On Wed, Feb 26, 2014 at 5:44 AM, Junio C Hamano wrote: >> Nguyễn Thái Ngọc Duy writes: >> >>> git_path() soon understands the path given to it. Some paths "abc" may >>> become "def" while other "ghi" may become "ijk". We don't want >>> git_path() to interfere with .lock pa

Re: [PATCH v3 07/25] reflog: avoid constructing .lock path with git_path

2014-02-28 Thread Duy Nguyen
On Wed, Feb 26, 2014 at 5:44 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> git_path() soon understands the path given to it. Some paths "abc" may >> become "def" while other "ghi" may become "ijk". We don't want >> git_path() to interfere with .lock path construction. Concatenate

Re: [PATCH v3 07/25] reflog: avoid constructing .lock path with git_path

2014-02-25 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > git_path() soon understands the path given to it. Some paths "abc" may > become "def" while other "ghi" may become "ijk". We don't want > git_path() to interfere with .lock path construction. Concatenate > ".lock" after the path has been resolved by git_path() so i

[PATCH v3 07/25] reflog: avoid constructing .lock path with git_path

2014-02-18 Thread Nguyễn Thái Ngọc Duy
git_path() soon understands the path given to it. Some paths "abc" may become "def" while other "ghi" may become "ijk". We don't want git_path() to interfere with .lock path construction. Concatenate ".lock" after the path has been resolved by git_path() so if "abc" becomes "def", we'll have "def.l