diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-09-18 10:07:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-09-18 10:07:00 -0700 |
commit | 1fbfabfa71fc596383d221c7760e91c39f68c076 (patch) | |
tree | 0deda3fa32ca0b905a0dbf1558ab98d044d21e3f /builtin/rebase.c | |
parent | f0d71c3ed05e1b835a5b49198047b4c7aa760fa4 (diff) | |
parent | ace1bb71503bc53b42ddfd68435c3af0adaf390f (diff) |
Merge branch 'pw/3.0-commentchar-auto-deprecation'
"core.commentChar=auto" that attempts to dynamically pick a
suitable comment character is non-workable, as it is too much
trouble to support for little benefit, and is marked as deprecated.
* pw/3.0-commentchar-auto-deprecation:
commit: print advice when core.commentString=auto
config: warn on core.commentString=auto
breaking-changes: deprecate support for core.commentString=auto
Diffstat (limited to 'builtin/rebase.c')
-rw-r--r-- | builtin/rebase.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c index 3c85768d29..67c0352bf8 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -1242,6 +1242,9 @@ int cmd_rebase(int argc, builtin_rebase_usage, builtin_rebase_options); +#ifndef WITH_BREAKING_CHANGES + warn_on_auto_comment_char = true; +#endif /* !WITH_BREAKING_CHANGES */ prepare_repo_settings(the_repository); the_repository->settings.command_requires_full_index = 0; |