)]}'
{
  "commit": "f0b7367cb124a628b80697f5ed095c5859022e21",
  "tree": "5a7d667c5985adb52169ec8de065bbf39a3641b8",
  "parents": [
    "d281786fcd6d0df47dd46e415f1a804b2e81ed9b"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "junkio@cox.net",
    "time": "Mon Jun 19 18:25:21 2006 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "junkio@cox.net",
    "time": "Mon Jun 19 18:44:58 2006 -0700"
  },
  "message": "Restore SIGCHLD to SIG_DFL where we care about waitpid().\n\nIt was reported that under one implementation of socks client\n\"git clone\" fails with \"error: waitpid failed (No child processes)\",\nbecause \"git\" is spawned after setting SIGCHLD to SIG_IGN.\n\nArguably it may be a broken setting, but we should protect\nourselves so that we can get reliable results from waitpid() for\nthe children we care about.\n\nThis patch resets SIGCHLD to SIG_DFL in three places:\n\n - connect.c::git_connect() - initiators of git native\n   protocol transfer are covered with this.\n\n - daemon.c::main() - obviously.\n\n - merge-index.c::main() - obviously.\n\nThere are other programs that do fork() but do not waitpid():\nhttp-push, imap-send.  upload-pack does not either, but in the\ncase of that program, each of the forked halves runs exec()\nanother program, so this change would not have much effect\nthere.\n\nSigned-off-by: Junio C Hamano \u003cjunkio@cox.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52d709e58d53f053ec00bfb9f31501684cbaf0e5",
      "old_mode": 33188,
      "old_path": "connect.c",
      "new_id": "db7342e4d26baa50dd944ebf06fb8b66fea59aaa",
      "new_mode": 33188,
      "new_path": "connect.c"
    },
    {
      "type": "modify",
      "old_id": "2f03f99d2d9f2ed9a23932e5104456f69b721116",
      "old_mode": 33188,
      "old_path": "daemon.c",
      "new_id": "10670047f267e86a6831562749914a8cf4187334",
      "new_mode": 33188,
      "new_path": "daemon.c"
    },
    {
      "type": "modify",
      "old_id": "024196e7ac53cb9ad09b38ea646bad81aff33306",
      "old_mode": 33188,
      "old_path": "merge-index.c",
      "new_id": "190e12fb7ceeb012a063f8c97b574e9650d95cc1",
      "new_mode": 33188,
      "new_path": "merge-index.c"
    }
  ]
}
