Merge commit

3bbf43483e3954291b9fb4caa228eedb9dd528c2

Merge branch 'yt/pathspec-negative-prefix'

The pathspec matching logic has been updated to avoid out-of-bounds
memory accesses when a negative pathspec is shorter than the common
prefix of positive pathspecs.

* yt/pathspec-negative-prefix:
  dir: preserve pathspec prefix optimization with leading excludes
  dir: do not apply prefix to negative pathspecs

Junio C Hamano <gitster@pobox.com> ยท 2026-09-17 16:48 UTC

Browse files

Combined diff: only what this merge did beyond taking one side. Added lines are colored by the parent they came from; bold lines came from none of them; removed lines are red.

No changes beyond merging its parents: every hunk came cleanly from one side.