From: Eric Sunshine Date: Fri, 17 Jul 2015 23:00:17 +0000 (-0400) Subject: checkout: drop intimate knowledge of newly created worktree X-Git-Tag: v2.6.0-rc0~76^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/272be14a85d3a8dca2ca842a3f35dfcf5895d2a6?hp=272be14a85d3a8dca2ca842a3f35dfcf5895d2a6 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 Signed-off-by: Junio C Hamano ---