diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:05:03 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:05:03 +0900 |
commit | a8d93d19a2fede14a35db163a1fd3bc87b6ac41d (patch) | |
tree | 7d7c2bea19b0d8cdc5878ad9875cd68fecbcea14 /shell.c | |
parent | 0b65a8dbdb38962e700ee16776a3042beb489060 (diff) | |
parent | c8dd1e3bb1152844983558802a52c9e4c17652b4 (diff) | |
download | git-a8d93d19a2fede14a35db163a1fd3bc87b6ac41d.tar.gz |
Merge branch 'maint-2.7' into maint-2.8
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"); |