commit | fc56361f58a20f1259e1ba2364424ec27825c37f | [log] [tgz] |
---|---|---|
author | Eric Sunshine <sunshine@sunshineco.com> | Mon Jul 06 13:30:50 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 06 11:07:45 2015 -0700 |
tree | 293d47e4d744f245ba7e656af919f5c4c7f0170a | |
parent | bdf0f375b9cf1c272233583a03eddef1772da99e [diff] |
worktree: introduce "add" command The plan is to relocate "git checkout --to" functionality to "git worktree add". As a first step, introduce a bare-bones git-worktree "add" command along with documentation. At this stage, "git worktree add" merely invokes "git checkout --to" behind the scenes, but an upcoming patch will move the actual functionality (checkout.c:prepare_linked_checkout() and its helpers) to worktree.c. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>