diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:21:52 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:21:52 +0900 |
commit | fc92b0878ccaa128e7c4505788f7c477284f0021 (patch) | |
tree | 3bdbf4c34ebd3cadfd54c3cfff66cc95e13b5571 /shell.c | |
parent | c3808ca6982b0ad7ee9b87eca9b50b9a24ec08b0 (diff) | |
parent | d61226c1118f749280c050555d83560ca0f3bf71 (diff) | |
download | git-fc92b0878ccaa128e7c4505788f7c477284f0021.tar.gz |
Merge branch 'maint-2.9' into maint-2.10
Diffstat (limited to 'shell.c')
-rw-r--r-- | shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ static int do_generic_cmd(const char *me, char *arg) const char *my_argv[4]; setup_path(); - if (!arg || !(arg = sq_dequote(arg))) + if (!arg || !(arg = sq_dequote(arg)) || *arg == '-') die("bad argument"); if (!starts_with(me, "git-")) die("bad command"); |