unpack-trees: rename ERROR_* fields meant for warnings to WARNING_*
We want to treat issues with setting the SKIP_WORKTREE bit as a warning rather than an error; rename the enum values to reflect this intent as a simple step towards that goal. 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
cd002c1561
commit
1ac83f42da
@ -23,9 +23,11 @@ enum unpack_trees_error_types {
|
||||
ERROR_WOULD_LOSE_UNTRACKED_REMOVED,
|
||||
ERROR_BIND_OVERLAP,
|
||||
ERROR_WOULD_LOSE_SUBMODULE,
|
||||
ERROR_SPARSE_NOT_UPTODATE_FILE,
|
||||
ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN,
|
||||
NB_UNPACK_TREES_ERROR_TYPES
|
||||
|
||||
WARNING_SPARSE_NOT_UPTODATE_FILE,
|
||||
WARNING_SPARSE_ORPHANED_NOT_OVERWRITTEN,
|
||||
|
||||
NB_UNPACK_TREES_ERROR_TYPES,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user