]> git.ipfire.org Git - thirdparty/git.git/commit
scalar: teach 'clone' to support the --single-branch option
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 3 Dec 2021 13:34:24 +0000 (13:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Dec 2021 05:52:24 +0000 (21:52 -0800)
commit4368e40befd308d3055e81f8f6aaaa3fb8fe6407
tree51ded11f2432fb410e5f5ab69e1154b77c2a9cd0
parent546f822d53aa4b4b35f962d61cdcd1204f9e96e3
scalar: teach 'clone' to support the --single-branch option

Just like `git clone`, the `scalar clone` command now also offers to
restrict the clone to a single branch.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.c
contrib/scalar/scalar.txt
contrib/scalar/t/t9099-scalar.sh