diff options
| author | Jayesh Daga <jayeshdaga99@gmail.com> | 2026-03-30 18:38:06 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-30 13:02:29 -0700 |
| commit | a7aca156779f6c40d454f04ed151d2f482396f0f (patch) | |
| tree | edd83d665cbe7e661ea130540affc5ff5e9ab7b7 /git-gui/lib/diff.tcl | |
| parent | 5361983c075154725be47b65cca9a2421789e410 (diff) | |
| download | git-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 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
