aboutsummaryrefslogtreecommitdiff
path: root/t/t5706-clone-branch.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-16 16:46:13 +0700
committerJunio C Hamano <gitster@pobox.com>2012-01-16 16:26:26 -0800
commit9e5850460164f49dc9ae47569838084f5572846d (patch)
treed9145f98548015227049becac58eb2a07ce05ca0 /t/t5706-clone-branch.sh
parent6f48d39fa4d3e364c81d3cbbbd656c804b9ec873 (diff)
downloadgit-9e5850460164f49dc9ae47569838084f5572846d.tar.gz
git-9e5850460164f49dc9ae47569838084f5572846d.tar.xz
clone: --branch=<branch> always means refs/heads/<branch>
It does not make sense to look outside refs/heads for HEAD's target (src_ref_prefix can be set to "refs/" if --mirror is used) because ref code only allows symref in form refs/heads/... 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 't/t5706-clone-branch.sh')
0 files changed, 0 insertions, 0 deletions