@@ -3831,7 +3831,6 @@ int cmd_apply(int argc, const char **argv, const char *prefix_)
3831
3831
int i ;
3832
3832
int errs = 0 ;
3833
3833
int is_not_gitdir = !startup_info -> have_repository ;
3834
- int binary ;
3835
3834
int force_apply = 0 ;
3836
3835
3837
3836
const char * whitespace_option = NULL ;
@@ -3850,12 +3849,8 @@ int cmd_apply(int argc, const char **argv, const char *prefix_)
3850
3849
"ignore additions made by the patch" ),
3851
3850
OPT_BOOLEAN (0 , "stat" , & diffstat ,
3852
3851
"instead of applying the patch, output diffstat for the input" ),
3853
- { OPTION_BOOLEAN , 0 , "allow-binary-replacement" , & binary ,
3854
- NULL , "old option, now no-op" ,
3855
- PARSE_OPT_HIDDEN | PARSE_OPT_NOARG },
3856
- { OPTION_BOOLEAN , 0 , "binary" , & binary ,
3857
- NULL , "old option, now no-op" ,
3858
- PARSE_OPT_HIDDEN | PARSE_OPT_NOARG },
3852
+ OPT_NOOP_NOARG (0 , "allow-binary-replacement" ),
3853
+ OPT_NOOP_NOARG (0 , "binary" ),
3859
3854
OPT_BOOLEAN (0 , "numstat" , & numstat ,
3860
3855
"shows number of added and deleted lines in decimal notation" ),
3861
3856
OPT_BOOLEAN (0 , "summary" , & summary ,
0 commit comments