Re: [PATCH v2 0/5] branch: fix branch operations with multiple working trees

2016-03-27 Thread Kazuki Yamaguchi
On Fri, Mar 25, 2016 at 02:13:07PM -0700, Junio C Hamano wrote: > Kazuki Yamaguchi writes: > > > [1/5] > > Adds RESOLVE_REF_COMMON_DIR to resolve_ref_unsafe(). The second - fourth > > patch depend on this. At the same time, this allows us to remove > > reimplementation of resolve_ref_unsafe() in

Re: [PATCH v2 0/5] branch: fix branch operations with multiple working trees

2016-03-25 Thread Junio C Hamano
Kazuki Yamaguchi writes: > [1/5] > Adds RESOLVE_REF_COMMON_DIR to resolve_ref_unsafe(). The second - fourth > patch depend on this. At the same time, this allows us to remove > reimplementation of resolve_ref_unsafe() in worktree.c: parse_ref(). > > [2/5] > Adds REF_COMMON_DIR flag to lock_ref_sh

[PATCH v2 0/5] branch: fix branch operations with multiple working trees

2016-03-25 Thread Kazuki Yamaguchi
[1/5] Adds RESOLVE_REF_COMMON_DIR to resolve_ref_unsafe(). The second - fourth patch depend on this. At the same time, this allows us to remove reimplementation of resolve_ref_unsafe() in worktree.c: parse_ref(). [2/5] Adds REF_COMMON_DIR flag to lock_ref_sha1_basic(). [3/5] Adds create_symref_co