summaryrefslogtreecommitdiff
path: root/merge-recursive.c
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2025-03-24 19:51:46 -0500
committerJunio C Hamano <gitster@pobox.com>2025-03-25 16:09:27 -0700
commitd5d284df910b5f03681b480ae061bb1435b3b4b2 (patch)
tree44349ee09df44c6039fd7afeedadada8b8f6d316 /merge-recursive.c
parent683c54c999c301c2cd6f715c411407c413b1d84e (diff)
remote: allow `guess_remote_head()` to suppress advice
The `repo_default_branch_name()` invoked through `guess_remote_head()` is configured to always display the default branch advice message. Adapt `guess_remote_head()` to accept flags and convert the `all` parameter to a flag. Add the `REMOTE_GUESS_HEAD_QUIET` flag to to enable suppression of advice messages. Call sites are updated accordingly. Signed-off-by: Justin Tobler <jltobler@gmail.com> Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-recursive.c')
0 files changed, 0 insertions, 0 deletions