Re: [PATCH 07/10] worktree.c: add update_worktree_location()

2017-08-01 Thread Eric Sunshine
On Sat, Jun 25, 2016 at 3:54 AM, Nguyễn Thái Ngọc Duy wrote: > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > diff --git a/worktree.c b/worktree.c > +int update_worktree_location(struct worktree *wt, const char *path_) > +{ > + struct strbuf path = STRBUF_INIT; > + int ret = 0; > + > +

[PATCH 07/10] worktree.c: add update_worktree_location()

2016-06-25 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- worktree.c | 25 + worktree.h | 6 ++ 2 files changed, 31 insertions(+) diff --git a/worktree.c b/worktree.c index d5149d8..9b227a4 100644 --- a/worktree.c +++ b/worktree.c @@ -354,6 +354,31 @@ int validate_worktree(const struc