]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tc/clone-single-revision'
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Feb 2025 01:53:47 +0000 (17:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Feb 2025 01:53:48 +0000 (17:53 -0800)
commit5785d9143bcb3ef19452a83bc2e870ff3d5ed95a
tree03d6edd344fee12ea80680126b49700202fa5816
parent0cc13007e5d50b096c95047680ace56749c18789
parent337855629f59a3f435dabef900e22202ce8e00e1
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
Documentation/git-clone.adoc
remote.c
remote.h
t/meson.build