diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-01-07 21:45:59 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-08 13:48:27 -0800 |
commit | 3e6e0edde20f536b28cf1dac04c7376000bfc701 (patch) | |
tree | a0213e6b8da702cf3d32169d447593f41a98c79a /t/t5522-pull-symlink.sh | |
parent | Merge branch 'pw/p4-docs-and-tests' (diff) | |
download | tgif-3e6e0edde20f536b28cf1dac04c7376000bfc701.tar.xz |
clone: add --single-branch to fetch only one branch
When --single-branch is given, only one branch, either HEAD or one
specified by --branch, will be fetched. Also only tags that point to
the downloaded history are fetched.
This helps most in shallow clones, where it can reduce the download to
minimum and that is why it is enabled by default when --depth is given.
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/t5522-pull-symlink.sh')
0 files changed, 0 insertions, 0 deletions