Skip to content
  • Junio C Hamano's avatar
    Merge branch 'nd/multiple-work-trees' · 7783eb2e
    Junio C Hamano authored
    "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
    7783eb2e