mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
unpack-trees: provide warnings on sparse updates for unmerged paths too
When sparse-checkout runs to update the list of sparsity patterns, it gives warnings if it can't remove paths from the working tree because those files have dirty changes. Add a similar warning for unmerged paths as well. Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
22ab0b37d8
commit
ebb568b9e2
@@ -27,6 +27,7 @@ enum unpack_trees_error_types {
|
||||
NB_UNPACK_TREES_ERROR_TYPES,
|
||||
|
||||
WARNING_SPARSE_NOT_UPTODATE_FILE,
|
||||
WARNING_SPARSE_UNMERGED_FILE,
|
||||
WARNING_SPARSE_ORPHANED_NOT_OVERWRITTEN,
|
||||
|
||||
NB_UNPACK_TREES_WARNING_TYPES,
|
||||
|
||||
Reference in New Issue
Block a user