Thread (59 messages) 59 messages, 4 authors, 2022-08-16
STALE1386d
Revisions (3)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]

[PATCH v2 5/9] mv: remove BOTH from enum update_mode

From: Shaoxuan Yuan <hidden>
Date: 2022-08-05 03:06:35
Subsystem: the rest · Maintainer: Linus Torvalds

Since BOTH is not used anywhere in the code and its meaning is unclear,
remove it.

Helped-by: Derrick Stolee [off-list ref]
Helped-by: Victoria Dye [off-list ref]
Signed-off-by: Shaoxuan Yuan <redacted>
---
 builtin/mv.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/builtin/mv.c b/builtin/mv.c
index f213a92bf6..1dc55153ed 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),
-- 
2.37.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help