]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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

1  2 
Documentation/git-clone.adoc
remote.c
remote.h
t/meson.build

Simple merge
diff --cc remote.c
Simple merge
diff --cc remote.h
Simple merge
diff --cc t/meson.build
Simple merge