summaryrefslogtreecommitdiffstats
path: root/Documentation/gitremote-helpers.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-07-18 01:00:09 +0200
committerJunio C Hamano <gitster@pobox.com>2015-07-20 20:29:51 +0200
commit5c942570fe2a48d8fde348e89392c2e9e23aa483 (patch)
tree1be8561173a8f4d7f33066ee3158f1549b8b968e /Documentation/gitremote-helpers.txt
parentworktree: make --detach mutually exclusive with -b/-B (diff)
downloadgit-5c942570fe2a48d8fde348e89392c2e9e23aa483.tar.xz
git-5c942570fe2a48d8fde348e89392c2e9e23aa483.zip
worktree: add: suppress auto-vivication with --detach and no <branch>
Fix oversight where branch auto-vivication incorrectly kicks in when --detach is specified and <branch> omitted. Instead, treat: git worktree add --detach <path> as shorthand for: git worktree add --detach <path> HEAD Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitremote-helpers.txt')
0 files changed, 0 insertions, 0 deletions