]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-worktree.txt
worktree: add: introduce --checkout option
authorRay Zhang <zhanglei002@gmail.com>
Tue, 29 Mar 2016 10:11:01 +0000 (10:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2016 18:12:36 +0000 (11:12 -0700)
commitef2a0ac9a00c5d82f1fbbef8304c662ff60e4235
tree214728c298d16cd1e4c00c27dde514d9bb86fd5d
parent56331f8727b0c2e7dc713b728eaf1e5843422cb7
worktree: add: introduce --checkout option

By adding this option which defaults to true, we can use the
corresponding --no-checkout to make some customizations before
the checkout, like sparse checkout, etc.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Ray Zhang <zhanglei002@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt
builtin/worktree.c
t/t2025-worktree-add.sh