Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaoxuan Yuan <shaoxuan.yuan02@gmail.com>2022-08-09 15:09:06 +0300
committerJunio C Hamano <gitster@pobox.com>2022-08-10 23:57:49 +0300
commit9284c3ce266fcf9abb0afbc59645c62dd58026dd (patch)
tree399feba001a16e34e94c774a35da21548e96ea90 /builtin/mv.c
parentc08830de41f15a8ee85cf7926266e1db732ec773 (diff)
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 <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>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r--builtin/mv.c1
1 files changed, 0 insertions, 1 deletions
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),