diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2015-07-06 13:30:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-06 11:07:48 -0700 |
commit | 0f4af3b9ea1fc62e445271bb2e7fbb8e1ac230b7 (patch) | |
tree | 0980a1eeee8eababf711fc6b2e1dc0133bc0adac /test-svn-fe.c | |
parent | worktree: extract basename computation to new function (diff) | |
download | tgif-0f4af3b9ea1fc62e445271bb2e7fbb8e1ac230b7.tar.xz |
worktree: add: make -b/-B default to HEAD when <branch> is omitted
As a convenience, like "git branch" and "git checkout -b", make
"git worktree add -b <newbranch> <path> <branch>" default to HEAD when
<branch> is omitted.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-svn-fe.c')
0 files changed, 0 insertions, 0 deletions