Commit ba6d2ad
committed
read-cache: use index state repository for trace2 logging
Replace uses of the_repository in trace2_data_intmax() with
istate->repo, which represents the repository associated with
the index state.
This avoids relying on global repository state and aligns with
other parts of the codebase (e.g., sparse-index.c) that pass the
repository instance explicitly.
No functional change intended.
Signed-off-by: jayesh0104 <jayeshdaga99@gmail.com>1 parent ca1db8a commit ba6d2ad
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2206 | 2206 | | |
2207 | 2207 | | |
2208 | 2208 | | |
| 2209 | + | |
2209 | 2210 | | |
2210 | 2211 | | |
2211 | 2212 | | |
| |||
2313 | 2314 | | |
2314 | 2315 | | |
2315 | 2316 | | |
2316 | | - | |
| 2317 | + | |
| 2318 | + | |
2317 | 2319 | | |
2318 | | - | |
| 2320 | + | |
2319 | 2321 | | |
2320 | 2322 | | |
2321 | 2323 | | |
| |||
0 commit comments