)]}'
{
  "commit": "8e349780ecb9bcec52c7df22fcbfb4afd0d7936c",
  "tree": "5fb040204fb6d89cd332a8fdc77231f98f8db9b2",
  "parents": [
    "8339805b467ca5b2d9314fdbfdd75a6e96c6b39a"
  ],
  "author": {
    "name": "Jonathan Nieder",
    "email": "jrnieder@gmail.com",
    "time": "Mon Nov 20 13:22:54 2017 -0800"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Nov 21 14:01:02 2017 +0900"
  },
  "message": "connect: move no_fork fallback to git_tcp_connect\n\ngit_connect has the structure\n\n\tstruct child_process *conn \u003d \u0026no_fork;\n\n\t...\n\tswitch (protocol) {\n\tcase PROTO_GIT:\n\t\tif (git_use_proxy(hostandport))\n\t\t\tconn \u003d git_proxy_connect(fd, hostandport);\n\t\telse\n\t\t\tgit_tcp_connect(fd, hostandport, flags);\n\t\t...\n\t\tbreak;\n\tcase PROTO_SSH:\n\t\tconn \u003d xmalloc(sizeof(*conn));\n\t\tchild_process_init(conn);\n\t\targv_array_push(\u0026conn-\u003eargs, ssh);\n\t\t...\n\t\tbreak;\n\t...\n\treturn conn;\n\nIn all cases except the git_tcp_connect case, conn is explicitly\nassigned a value. Make the code clearer by explicitly assigning\n\u0027conn \u003d \u0026no_fork\u0027 in the tcp case and eliminating the default so the\ncompiler can ensure conn is always correctly assigned.\n\nNoticed-by: Junio C Hamano \u003cgitster@pobox.com\u003e\nSigned-off-by: Jonathan Nieder \u003cjrnieder@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7fbd396b35ee8f84350d45fc74d9fee07fec86ba",
      "old_mode": 33188,
      "old_path": "connect.c",
      "new_id": "aa994d1518354bcfdcbcb7f1d582bceca03beb8f",
      "new_mode": 33188,
      "new_path": "connect.c"
    }
  ]
}
