OSDN Git Service

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
+++ 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