Skip to content

Commit

Permalink
Docs: update sparse index plan with logging
Browse files Browse the repository at this point in the history
The recent changes update the callers of ensure_full_index() to call
variants that will log extra information. This should assist developers
assisting users who are hitting the sparse index expansion message.

Signed-off-by: Derrick Stolee <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
derrickstolee authored and dscho committed Dec 18, 2024
1 parent 8e62f70 commit 836ca96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/technical/sparse-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,10 @@ Here are some commands that might be useful to update:
* `git am`
* `git clean`
* `git stash`

In order to help identify the cases where remaining index expansion is
occurring in user machines, calls to `ensure_full_index()` have been
replaced with `ensure_full_index_with_reason()` or with
`ensure_full_index_unaudited()`. These versions add tracing that should
help identify the reason for the index expansion without needing full
access to someone's repository.

0 comments on commit 836ca96

Please sign in to comment.