Merge branch 'nd/multiple-work-trees'
commit7783eb2e59684492e75068443e1f77f64fe37cc9
authorJunio C Hamano <gitster@pobox.com>
Mon, 13 Jul 2015 21:02:02 +0000 (13 14:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jul 2015 21:02:02 +0000 (13 14:02 -0700)
tree28abef68309c3b2cfcb3398955eb3e2d63da5479
parent721f5bb8968ed6a6ec126fe28f679c17a6998e87
parentdf0b6cfbda88144714541664fb501146d6465a82
Merge branch 'nd/multiple-work-trees'

"git checkout [<tree-ish>] <paths>" spent unnecessary cycles
checking if the current branch was checked out elsewhere, when we
know we are not switching the branches ourselves.

* nd/multiple-work-trees:
  worktree: new place for "git prune --worktrees"
  checkout: don't check worktrees when not necessary
.gitignore
Makefile
builtin/checkout.c
builtin/gc.c
builtin/prune.c
command-list.txt
git.c