From: Junio C Hamano Date: Sat, 15 Feb 2025 01:53:47 +0000 (-0800) Subject: Merge branch 'tc/clone-single-revision' X-Git-Tag: v2.49.0-rc0~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5785d9143bcb3ef19452a83bc2e870ff3d5ed95a;p=thirdparty%2Fgit.git Merge branch 'tc/clone-single-revision' "git clone" learned to make a shallow clone for a single commit that is not necessarily be at the tip of any branch. * tc/clone-single-revision: builtin/clone: teach git-clone(1) the --revision= option parse-options: introduce die_for_incompatible_opt2() clone: introduce struct clone_opts in builtin/clone.c clone: add tags refspec earlier to fetch refspec clone: refactor wanted_peer_refs() clone: make it possible to specify --tags clone: cut down on global variables in clone.c --- 5785d9143bcb3ef19452a83bc2e870ff3d5ed95a