diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:13:48 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-05 13:13:48 +0900 |
commit | c93ab42b7480a2c317713385f5ef3f8f2b099c2b (patch) | |
tree | 83c645b24b9d62c4ec96099078f314dd99e813fb /shell.c | |
parent | 0202c411edc25940cc381bf317badcdf67670be4 (diff) | |
parent | cd0887327544ecdc8778e16219aec3f43b0dd682 (diff) | |
download | git-c93ab42b7480a2c317713385f5ef3f8f2b099c2b.tar.gz |
Merge branch 'maint-2.8' into maint-2.9
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"); |