Merge tag 'v2.9.5' into maint-2.10
authorJunio C Hamano <gitster@pobox.com>
Sun, 30 Jul 2017 21:57:33 +0000 (14:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Jul 2017 21:57:33 +0000 (14:57 -0700)
Git 2.9.5

1  2 
cache.h
connect.c
path.c
diff --cc cache.h
Simple merge
diff --cc connect.c
index 722dc3fc546056be199f5d6a59c556833be58286,c75bf52ee29040626f89bc1daf85aab742915e91..048fa049170c8f6912ac96b7b547f2f28a74995e
+++ b/connect.c
@@@ -771,7 -766,10 +779,10 @@@ struct child_process *git_connect(int f
                                return NULL;
                        }
  
 -                      ssh = getenv("GIT_SSH_COMMAND");
+                       if (looks_like_command_line_option(ssh_host))
+                               die("strange hostname '%s' blocked", ssh_host);
 +                      ssh = get_ssh_command();
                        if (!ssh) {
                                const char *base;
                                char *ssh_dup;
diff --cc path.c
Simple merge