git: refresh index stat cache after CLI status
This commit is contained in:
@@ -92,6 +92,11 @@ The trailer follows a blank line after the message body.
|
||||
Without this variable, `commit` preserves the normal message.
|
||||
The tests compare both forms with native Git, including commit IDs.
|
||||
`clean -fdq` preserves tracked files, ignored files, and nested repositories.
|
||||
CLI `status` refreshes cached file stats in the index after the content comparison.
|
||||
Repeated status calls reuse those stats instead of hashing unchanged files again.
|
||||
If the index cannot accept writes, status still reports changes.
|
||||
The read-only status API does not refresh the index.
|
||||
The comparison suite checks cache refresh, cache reuse, and same-size content edits.
|
||||
|
||||
The log applies its path filter before its count limit.
|
||||
Stashes use ordinary Git commits and the `refs/stash` reflog.
|
||||
|
||||
Reference in New Issue
Block a user