Re: [PATCH 2/7] worktree.c: add update_worktree_location()

2018-02-02 Thread Duy Nguyen
On Fri, Feb 2, 2018 at 3:23 PM, Eric Sunshine wrote: > On Wed, Jan 24, 2018 at 4:53 AM, Nguyễn Thái Ngọc Duy > wrote: >> diff --git a/worktree.c b/worktree.c >> @@ -326,6 +326,24 @@ int validate_worktree(const struct worktree *wt, struct >> strbuf

Re: [PATCH 2/7] worktree.c: add update_worktree_location()

2018-02-02 Thread Eric Sunshine
On Wed, Jan 24, 2018 at 4:53 AM, Nguyễn Thái Ngọc Duy wrote: > diff --git a/worktree.c b/worktree.c > @@ -326,6 +326,24 @@ int validate_worktree(const struct worktree *wt, struct > strbuf *errmsg) > +void update_worktree_location(struct worktree *wt, const char *path_) > +{ >

[PATCH 2/7] worktree.c: add update_worktree_location()

2018-01-24 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- worktree.c | 18 ++ worktree.h | 6 ++ 2 files changed, 24 insertions(+) diff --git a/worktree.c b/worktree.c index b238d87bf1..98e9f32c7f 100644 --- a/worktree.c +++ b/worktree.c @@ -326,6 +326,24 @@ int