]> git.ipfire.org Git - thirdparty/git.git/commitdiff
mv: remove BOTH from enum update_mode
authorShaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Tue, 9 Aug 2022 12:09:06 +0000 (20:09 +0800)
committerJunio C Hamano <gitster@pobox.com>
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 <derrickstolee@github.com>
Helped-by: Victoria Dye <vdye@github.com>
Signed-off-by: Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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),