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
2022-03-09 13:38:46 -08:00
2022-02-23 13:36:26 -08:00
2021-10-15 10:29:11 -07:00
2021-10-18 15:47:58 -07:00
2022-02-21 19:14:19 -08:00
2022-03-09 13:38:23 -08:00
2021-11-09 09:39:11 -08:00
2021-10-04 13:07:18 -07:00
2022-02-16 15:14:30 -08:00
2022-01-18 16:22:58 -08:00
2021-09-28 10:31:02 -07:00
2021-12-15 17:04:19 -08:00
2021-12-13 14:30:25 -08:00
2021-10-28 09:57:09 -07:00
2021-10-25 10:08:23 -07:00
2021-10-18 15:47:58 -07:00
2022-02-04 08:16:39 -08:00
2021-09-07 14:25:13 -07:00
2021-10-27 17:06:12 -07:00
2022-02-18 11:21:46 -08:00
2022-02-03 11:13:49 -08:00
2022-01-13 13:49:45 -08:00
2022-01-20 15:25:38 -08:00
2021-11-09 09:39:11 -08:00
2022-02-09 15:38:36 -08:00
2021-08-26 14:36:27 -07:00
2021-10-29 11:22:56 -07:00
2022-02-08 09:49:20 -08:00
2021-10-28 09:57:09 -07:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-09-16 20:47:48 -07:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-12-20 14:55:02 -08:00
2021-12-15 17:04:15 -08:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2022-02-23 13:41:37 -08:00
2022-01-07 15:19:34 -08:00
2021-09-10 15:34:59 -07:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-09-07 10:59:23 -07:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2022-02-23 16:41:55 -08:00
2021-09-07 10:57:04 -07:00
2021-12-01 14:45:59 -08:00
2021-11-09 09:39:11 -08:00
2022-01-05 14:01:30 -08:00
2022-02-02 14:50:09 -08:00
2021-10-25 11:06:56 -07:00
2022-01-10 09:39:26 -08:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-10-18 15:47:56 -07:00
2022-01-14 14:44:07 -08:00
2021-12-01 14:45:59 -08:00
2021-08-05 08:59:37 -07:00
2021-11-09 09:39:11 -08:00
2021-11-09 09:39:11 -08:00
2021-12-20 11:59:17 -08:00
2021-11-09 09:39:11 -08:00
2021-09-27 13:38:37 -07:00
2021-12-01 14:45:59 -08:00
2021-09-28 10:31:02 -07:00
2021-10-28 09:06:15 -07:00
2021-09-12 18:57:30 -07:00
2021-11-09 09:39:11 -08:00
2022-03-09 13:38:23 -08:00
2021-11-09 09:39:11 -08:00
2021-10-18 13:09:21 -07:00
2021-10-21 17:24:30 -07:00
2022-02-09 15:38:36 -08:00
2021-12-10 14:35:03 -08:00
2022-01-10 11:52:54 -08:00
2022-01-14 14:44:07 -08:00
2021-09-23 13:44:47 -07:00
2021-11-03 13:25:36 -07:00
2021-09-14 10:05:40 -07:00
2021-10-28 09:57:09 -07:00
2022-02-23 12:24:42 -08:00
2021-12-10 14:35:04 -08:00
2022-02-14 13:01:25 -08:00
2022-01-17 11:42:25 -08:00
2021-11-09 09:39:11 -08:00
2021-08-05 15:35:02 -07:00
2022-01-07 15:19:34 -08:00
2021-10-25 11:06:56 -07:00
2021-11-09 09:39:11 -08:00
2021-10-25 11:06:57 -07:00
2021-11-09 09:39:11 -08:00
2022-02-09 18:34:41 -08:00
2021-10-15 10:29:11 -07:00
2021-10-15 10:16:57 -07:00
2021-10-15 10:16:57 -07:00
2021-10-29 15:43:13 -07:00
2021-10-29 11:22:56 -07:00
2021-08-05 15:35:02 -07:00
2021-11-29 15:41:46 -08:00
2021-10-29 13:02:51 -07:00
2021-12-15 09:39:48 -08:00
2021-10-29 14:35:59 -07:00
2022-01-12 11:08:42 -08:00
2022-01-27 17:50:04 -08:00
2021-11-09 09:39:11 -08:00
2021-08-05 15:35:02 -07:00