summaryrefslogtreecommitdiff
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-07-17 23:00:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-07-20 18:29:24 (GMT)
commiteef005dcb3e039ccc3da65e9347cf4357bdeea6a (patch)
tree12e7d473ab012fd8ad357a6a8ea20eafb7f8028f /GIT-VERSION-GEN
parentcd2f4713112119e18af8b5b580c5661a52320632 (diff)
downloadgit-eef005dcb3e039ccc3da65e9347cf4357bdeea6a.zip
git-eef005dcb3e039ccc3da65e9347cf4357bdeea6a.tar.gz
git-eef005dcb3e039ccc3da65e9347cf4357bdeea6a.tar.bz2
worktree: simplify new branch (-b/-B) option checking
Make 'new_branch' be the name of the new branch for both forced and non-forced cases; and add boolean 'force_new_branch' to indicate forced branch creation. This will simplify logic later on when git-worktree handles branch creation locally rather than delegating it to git-checkout as part of the worktree population phase. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions