]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/c23-const-preserving-fixes' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Mar 2026 20:00:56 +0000 (13:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Mar 2026 20:00:56 +0000 (13:00 -0700)
Adjust the codebase for C23 that changes functions like strchr()
that discarded constness when they return a pointer into a const
string to preserve constness.

* jk/c23-const-preserving-fixes:
  config: store allocated string in non-const pointer
  rev-parse: avoid writing to const string for parent marks
  revision: avoid writing to const string for parent marks
  rev-parse: simplify dotdot parsing
  revision: make handle_dotdot() interface less confusing


Trivial merge