Subject: [PATCH v2 0/1] diffcore-break: prevent dangling pointer

From: Han Young <[email-masked]>
Date: Thu, 12 Feb 2026 15:20:01 +0800

This bug is difficult to trigger, git-diff won't trigger the bug because
in git-diff, the prefetching happens before the break-rewrites.
The test uses git reset to trigger it.

Changes since v1:
* Added the test

Han Young (1):
  diffcore-break: prevent dangling pointer

 diffcore-break.c              |  1 +
 t/t4067-diff-partial-clone.sh | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

-- 
2.52.0