summaryrefslogtreecommitdiff
path: root/Documentation/git-credential-store.txt
diff options
context:
space:
mode:
authorLibravatar Matthieu Moy <Matthieu.Moy@imag.fr>2013-10-18 11:25:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-18 12:56:06 -0700
commita047fafc7866cc4087201e284dc1f53e8f9a32d5 (patch)
treea5749d3b3c5c801c75cc74b06770a0395a63937a /Documentation/git-credential-store.txt
parentMerge branch 'maint-1.8.2' into maint-1.8.3 (diff)
downloadtgif-a047fafc7866cc4087201e284dc1f53e8f9a32d5.tar.xz
checkout: allow dwim for branch creation for "git checkout $branch --"
The "--" notation disambiguates files and branches, but as a side-effect of the previous implementation, also disabled the branch auto-creation when $branch does not exist. A possible scenario is then: git checkout $branch => fails if $branch is both a ref and a file, and suggests -- git checkout $branch -- => refuses to create the $branch This patch allows the second form to create $branch, and since the -- is provided, it does not look for file named $branch. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-credential-store.txt')
0 files changed, 0 insertions, 0 deletions