]> git.99rst.org Git - git.git/commitdiff
mv: remove BOTH from enum update_mode
authorShaoxuan Yuan <redacted>
Tue, 9 Aug 2022 12:09:06 +0000 (20:09 +0800)
committerJunio C Hamano <redacted>
Wed, 10 Aug 2022 20:57:49 +0000 (13:57 -0700)
Since BOTH is not used anywhere in the code and its meaning is unclear,
remove it.

Helped-by: Derrick Stolee <redacted>
Helped-by: Victoria Dye <redacted>
Signed-off-by: Shaoxuan Yuan <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/mv.c

index 11aea7b4db564baa247248898a157ac8b6bb4ed8..7ac653be23c34bd6ccc1827d9106fe6861ce7b05 100644 (file)
@@ -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),
git clone https://git.99rst.org/PROJECT