summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2015-06-12 10:49:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-12 22:21:44 (GMT)
commite1c1ab9d25864e8de0009f3f3149ec4386a14bf8 (patch)
tree177fac85096a1693a29b6478416e38221de4a8fb /.gitignore
parent562bc080934b1bd16099723e80cc82a0dc6356b7 (diff)
downloadgit-e1c1ab9d25864e8de0009f3f3149ec4386a14bf8.zip
git-e1c1ab9d25864e8de0009f3f3149ec4386a14bf8.tar.gz
git-e1c1ab9d25864e8de0009f3f3149ec4386a14bf8.tar.bz2
checkout: don't check worktrees when not necessary
When --patch or pathspecs are passed to git checkout, the working tree will not be switching branch, so there's no need to check if the branch that we are running checkout on is already checked out. Original-patch-by: Spencer Baugh <sbaugh@catern.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions