Re: [PATCH v4 1/4] checkout: factor out functions to new lib file

2017-11-23 Thread Junio C Hamano
Thomas Gummerer writes: > Factor the functions out, so they can be re-used from other places. In > particular these functions will be re-used in builtin/worktree.c to make > git worktree add dwim more. > > While there add some docs to the function. > > Signed-off-by:

[PATCH v4 1/4] checkout: factor out functions to new lib file

2017-11-22 Thread Thomas Gummerer
Factor the functions out, so they can be re-used from other places. In particular these functions will be re-used in builtin/worktree.c to make git worktree add dwim more. While there add some docs to the function. Signed-off-by: Thomas Gummerer --- Makefile |