Merge branch 'tg/worktree-create-tracking'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Dec 2017 19:33:57 +0000 (11:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Dec 2017 19:33:57 +0000 (11:33 -0800)
commit66d3f19324ac9eeae8ef0d2ae2067ae7b18f8ac8
treee94fa30407c0068170f6c19a94adadd66fcbeca7
parent1974f4791af2b8720f2983149defe13e571b3884
parente92445a73173cf21a11b8e79cb7be16485deec69
Merge branch 'tg/worktree-create-tracking'

The way "git worktree add" determines what branch to create from
where and checkout in the new worktree has been updated a bit.

* tg/worktree-create-tracking:
  add worktree.guessRemote config option
  worktree: add --guess-remote flag to add subcommand
  worktree: make add <path> <branch> dwim
  worktree: add --[no-]track option to the add subcommand
  worktree: add can be created from any commit-ish
  checkout: factor out functions to new lib file
Documentation/config.txt
Makefile
builtin/checkout.c