Files
git/Documentation/config
Victoria Dye e86ec71d20 reset: revise index refresh advice
Update the advice describing index refresh from "enumerate unstaged changes"
to "refresh the index." Describing 'refresh_index(...)' as "enumerating
unstaged changes" is not fully representative of what an index refresh is
doing; more generally, it updates the properties of index entries that are
affected by outside-of-index state, e.g. CE_UPTODATE, which is affected by
the file contents on-disk. This distinction is relevant to operations that
read the index but do not refresh first - e.g., 'git read-tree' - where a
stale index may cause incorrect behavior.

In addition to changing the advice message, use the "advise" function to
print advice.

Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-03-14 18:51:56 -07:00
..
2022-03-14 18:51:56 -07:00
2021-01-15 15:20:28 -08:00
2021-07-15 16:54:34 -07:00
2021-01-04 11:27:48 -08:00
2021-02-05 13:49:55 -08:00
2021-07-13 16:52:49 -07:00
2021-01-04 11:27:48 -08:00