aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJayesh Daga <jayeshdaga99@gmail.com>2026-03-30 18:38:06 +0000
committerJunio C Hamano <gitster@pobox.com>2026-03-30 13:02:29 -0700
commita7aca156779f6c40d454f04ed151d2f482396f0f (patch)
treeedd83d665cbe7e661ea130540affc5ff5e9ab7b7 /gitweb
parent5361983c075154725be47b65cca9a2421789e410 (diff)
downloadgit-a7aca156779f6c40d454f04ed151d2f482396f0f.tar.xz
read-cache: use istate->repo for trace2 logging
trace2 calls in read-cache.c use the global 'the_repository', even though the relevant index_state provides an explicit repository pointer via 'istate->repo'. Using the global repository can result in incorrect trace2 output when multiple repository instances are in use, as events may be attributed to the wrong repository. Use 'istate->repo' instead to ensure correct repository attribution. Signed-off-by: Jayesh Daga <jayeshdaga99@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
0 files changed, 0 insertions, 0 deletions