[PATCH v2 0/1] diffcore-break: prevent dangling pointer
- From
Han Young <hanyang.tony@bytedance.com>
- Date
- Feb 12, 2026, 07:20 UTC
- Message-ID
- <20260212072002.2347-1-hanyang.tony@bytedance.com>
- In-Reply-To
- <20260211041128.48412-1-hanyang.tony@bytedance.com>
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