Victoria Dye
c35e9f5ecd
update-index: integrate with sparse index
...
Enable use of the sparse index with `update-index`. Most variations of
`update-index` work without explicitly expanding the index or making any
other updates in or outside of `update-index.c`.
The one usage requiring additional changes is `--cacheinfo`; if a file
inside a sparse directory was specified, the index would not be expanded
until after the cache tree is invalidated, leading to a mismatch between the
index and cache tree. This scenario is handled by rearranging
`add_index_entry_with_check`, allowing `index_name_stage_pos` to expand the
index *before* attempting to invalidate the relevant cache tree path,
avoiding cache tree/index corruption.
Signed-off-by: Victoria Dye <vdye@github.com >
Reviewed-by: Elijah Newren <newren@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2022-01-13 13:49:45 -08:00
..
2021-11-25 22:15:07 -08:00
2021-10-13 15:15:57 -07:00
2021-08-25 14:39:08 -07:00
2021-10-01 15:47:53 -07:00
2021-12-21 15:03:17 -08:00
2021-12-01 22:18:25 -08:00
2021-09-27 09:44:54 -07:00
2021-10-03 21:49:20 -07:00
2021-10-08 15:45:14 -07:00
2021-07-01 12:32:22 -07:00
2021-10-15 13:09:40 -07:00
2022-01-13 13:49:45 -08:00
2021-12-15 09:39:47 -08:00
2022-01-13 13:49:45 -08:00
2021-12-15 11:48:22 -08:00
2021-08-26 14:36:27 -07:00
2021-11-01 13:48:08 -07:00
2021-08-25 14:39:08 -07:00
2021-09-27 09:44:54 -07:00
2021-10-01 14:22:51 -07:00
2021-09-14 09:30:54 -07:00
2021-07-26 12:17:16 -07:00
2021-10-28 09:57:09 -07:00
2021-04-27 16:31:39 +09:00
2021-09-07 11:11:35 -07:00
2021-12-06 09:55:06 -08:00
2021-11-25 22:15:08 -08:00
2021-10-25 16:06:56 -07:00
2021-04-27 16:31:38 +09:00
2021-12-22 22:48:10 -08:00
2021-10-20 14:33:07 -07:00
2021-07-26 12:19:20 -07:00
2021-11-25 22:15:07 -08:00
2021-11-10 15:01:20 -08:00
2021-10-23 10:45:25 -07:00
2021-10-12 13:51:32 -07:00
2021-11-25 22:15:07 -08:00
2021-10-31 22:49:49 -07:00
2021-05-25 16:21:20 +09:00
2022-01-03 16:24:14 -08:00
2021-10-07 15:40:15 -07:00
2021-10-20 14:33:07 -07:00
2021-03-20 16:09:26 -07:00
2021-05-10 15:06:22 +09:00
2021-08-25 14:39:08 -07:00
2021-12-01 14:45:58 -08:00
2021-04-14 13:47:21 -07:00
2021-06-09 09:15:58 +09:00
2021-05-11 12:47:31 +09:00
2021-11-25 22:15:07 -08:00
2021-10-01 15:06:01 -07:00
2021-06-09 09:15:58 +09:00
2021-10-28 15:32:14 -07:00
2021-09-28 10:31:02 -07:00
2021-12-04 23:39:34 -08:00
2021-12-21 15:03:16 -08:00
2021-12-15 09:39:55 -08:00
2021-04-27 16:31:38 +09:00
2022-01-03 16:24:15 -08:00
2021-12-10 14:35:09 -08:00
2021-08-25 12:07:52 -07:00
2021-03-29 14:06:08 -07:00
2021-09-27 13:38:37 -07:00
2021-10-18 15:47:56 -07:00
2022-01-03 16:24:15 -08:00
2021-10-23 10:45:25 -07:00
2021-10-18 15:47:57 -07:00
2021-12-10 14:35:10 -08:00
2021-11-25 22:15:07 -08:00
2021-05-11 12:47:31 +09:00
2022-01-13 13:49:44 -08:00
2021-07-12 10:12:31 -07:00
2021-09-27 12:36:45 -07:00
2021-09-20 15:20:45 -07:00
2021-10-13 15:15:56 -07:00
2021-10-29 15:43:12 -07:00
2021-10-08 14:13:11 -07:00
2021-12-02 11:14:07 -08:00
2021-04-27 16:31:39 +09:00
2021-12-23 11:55:54 -08:00
2021-10-28 14:17:14 -07:00
2021-12-10 14:35:15 -08:00
2021-10-20 14:33:07 -07:00
2021-04-27 16:31:39 +09:00
2022-01-13 13:49:45 -08:00
2021-09-03 11:35:15 -07:00
2021-11-25 22:15:07 -08:00
2021-08-05 08:59:37 -07:00
2021-11-03 13:25:36 -07:00
2021-12-15 09:39:49 -08:00