From: Shaoxuan Yuan Date: Tue, 9 Aug 2022 12:09:06 +0000 (+0800) Subject: mv: remove BOTH from enum update_mode X-Git-Tag: v2.38.0-rc1~18^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9284c3ce266fcf9abb0afbc59645c62dd58026dd;p=thirdparty%2Fgit.git mv: remove BOTH from enum update_mode Since BOTH is not used anywhere in the code and its meaning is unclear, remove it. Helped-by: Derrick Stolee Helped-by: Victoria Dye Signed-off-by: Shaoxuan Yuan Signed-off-by: Junio C Hamano --- diff --git a/builtin/mv.c b/builtin/mv.c index 11aea7b4db..7ac653be23 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -21,7 +21,6 @@ static const char * const builtin_mv_usage[] = { }; enum update_mode { - BOTH = 0, WORKING_DIRECTORY = (1 << 1), INDEX = (1 << 2), SPARSE = (1 << 3),