summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.7.3.txt
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-03-27 00:48:46 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-03-27 11:33:29 -0700
commitd61633ae186d26ab2c216108c917ec0ae7dd2782 (patch)
treea4b21e4ecbe87c4de5a5dd474b2a9127fd464940 /Documentation/RelNotes/1.7.7.3.txt
parentunpack-trees: remove unused error type (diff)
downloadtgif-d61633ae186d26ab2c216108c917ec0ae7dd2782.tar.xz
unpack-trees: simplify verify_absent_sparse()
verify_absent_sparse() was introduced in commit 08402b0409 ("merge-recursive: distinguish "removed" and "overwritten" messages", 2010-08-11), and has always had exactly one caller which always passes error_type == ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN. This function then checks whether error_type is this value, and if so, sets it instead to ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN. It has been nearly a decade and no other caller has been created, and no other value has ever been passed, so just pass the expected value to begin with. Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.7.3.txt')
0 files changed, 0 insertions, 0 deletions