]> Kevux Git Server - rit/commit
Merge branch 'jk/c23-const-preserving-fixes'
authorJunio C Hamano <gitster@pobox.com>
Mon, 6 Apr 2026 22:42:51 +0000 (15:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Apr 2026 22:42:51 +0000 (15:42 -0700)
commitfbd0428cc3011e93a87d02314dc392b06d60877d
tree35f67248fffbb4eef520204c6923c6da16566fd0
parent87972f30017cc82ea9bab8e20e85bcf1fe84e1d2
parentd385845d55e0e3a775fc47ac8d73a5ec41308db3
Merge branch 'jk/c23-const-preserving-fixes'

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