builtin-fetch: Add "-q" as a synonym for "--quiet"
PATCH 1/1 builtin-fetch: Add "-q" as a synonym for "--quiet"
"-q" is the very first option described in the git-fetch manpage, and it isn't supported.
Signed-off-by Steven Grimm <[email protected]>
--- builtin-fetch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-fetch.c +1 -1
@@ -517,7 +517,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) depth = argv[i];continue ; } -if (!strcmp (arg,"--quiet" )) { +if (!strcmp (arg,"--quiet" ) || !strcmp (arg,"-q" )) { quiet =1 ;continue ; }
Signature · 1 line
1.5.3.5.529.ge3d6d-dirty