summaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2015-07-17 19:00:17 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-20 11:29:52 -0700
commit272be14a85d3a8dca2ca842a3f35dfcf5895d2a6 (patch)
treee560bb3a99f7e083c08d16a406b7eaa445179b33 /path.c
parentworktree: populate via "git reset --hard" rather than "git checkout" (diff)
downloadtgif-272be14a85d3a8dca2ca842a3f35dfcf5895d2a6.tar.xz
checkout: drop intimate knowledge of newly created worktree
Now that git-worktree no longer relies upon git-checkout for new branch creation, new worktree HEAD set up, or initial worktree population, git-checkout no longer needs intimate knowledge that it may be operating in a newly created worktree. Therefore, drop 'new_worktree_mode' and the private GIT_CHECKOUT_NEW_WORKTREE environment variable by which git-worktree communicated to git-checkout that it was being invoked to manipulate a new worktree. This reverts the remaining changes to checkout.c by 529fef2 (checkout: support checking out into a new working directory, 2014-11-30). Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.c')
0 files changed, 0 insertions, 0 deletions