@@ -1476,7 +1476,6 @@ int cmd_status(int argc, const char **argv, const char *prefix)
1476
1476
static int no_renames = -1 ;
1477
1477
static const char * rename_score_arg = (const char * )-1 ;
1478
1478
static int no_lock_index = 0 ;
1479
- static int show_ignored_directory = 0 ;
1480
1479
static struct wt_status s ;
1481
1480
unsigned int progress_flag = 0 ;
1482
1481
int fd ;
@@ -1515,10 +1514,6 @@ int cmd_status(int argc, const char **argv, const char *prefix)
1515
1514
OPT_CALLBACK_F ('M' , "find-renames" , & rename_score_arg ,
1516
1515
N_ ("n" ), N_ ("detect renames, optionally set similarity index" ),
1517
1516
PARSE_OPT_OPTARG | PARSE_OPT_NONEG , opt_parse_rename_score ),
1518
- OPT_BOOL (0 , "show-ignored-directory" , & show_ignored_directory ,
1519
- N_ ("(DEPRECATED: use --ignore=matching instead) Only "
1520
- "show directories that match an ignore pattern "
1521
- "name." )),
1522
1517
OPT_BOOL (0 , "no-lock-index" , & no_lock_index ,
1523
1518
N_ ("(DEPRECATED: use `git --no-optional-locks status` "
1524
1519
"instead) Do not lock the index" )),
@@ -1544,12 +1539,6 @@ int cmd_status(int argc, const char **argv, const char *prefix)
1544
1539
setenv (GIT_OPTIONAL_LOCKS_ENVIRONMENT , "false" , 1 );
1545
1540
}
1546
1541
1547
- if (show_ignored_directory ) {
1548
- warning ("--show-ignored-directory was deprecated, use "
1549
- "--ignored=matching instead" );
1550
- ignored_arg = "matching" ;
1551
- }
1552
-
1553
1542
handle_untracked_files_arg (& s );
1554
1543
handle_ignored_arg (& s );
1555
1544
0 commit comments