]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jt/clone-guess-remote-head-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 20:50:16 +0000 (13:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Apr 2025 20:50:16 +0000 (13:50 -0700)
"git clone" still gave the message about the default branch name;
this message has been turned into an advice message that can be
turned off.

* jt/clone-guess-remote-head-fix:
  advice: allow disabling default branch name advice
  builtin/clone: suppress unexpected default branch advice
  remote: allow `guess_remote_head()` to suppress advice

1  2 
builtin/clone.c
builtin/fetch.c
refs.c
remote.c

diff --cc builtin/clone.c
Simple merge
diff --cc builtin/fetch.c
Simple merge
diff --cc refs.c
Simple merge
diff --cc remote.c
Simple merge