diff options
| author | Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> | 2022-08-09 20:09:06 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-10 13:57:49 -0700 |
| commit | 9284c3ce266fcf9abb0afbc59645c62dd58026dd (patch) | |
| tree | 399feba001a16e34e94c774a35da21548e96ea90 | |
| parent | mv: check if <destination> is a SKIP_WORKTREE_DIR (diff) | |
| download | git-9284c3ce266fcf9abb0afbc59645c62dd58026dd.tar.gz git-9284c3ce266fcf9abb0afbc59645c62dd58026dd.zip | |
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>
| -rw-r--r-- | builtin/mv.c | 1 |
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), |
