]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
checkout: factor out functions to new lib file
authorThomas Gummerer <t.gummerer@gmail.com>
Sun, 26 Nov 2017 19:43:51 +0000 (19:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Nov 2017 00:48:06 +0000 (09:48 +0900)
commit7c85a87c5449f6495fe0327cfdcd1e0940d8545a
treea720e4dac184883c79a1b3f9a345472a256ef444
parent14c63a9dc093d6738454f6369a4f5663ca732cf7
checkout: factor out functions to new lib file

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 <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/checkout.c
checkout.c [new file with mode: 0644]
checkout.h [new file with mode: 0644]