)]}'
{
  "commit": "400caafb2bb63712bb23cfa4d800261aab8e5cae",
  "tree": "ee1b449e160406742425b4c105497e4b3618c93c",
  "parents": [
    "ee662bf5c66457dfa96a7148b2032a7f17868a54"
  ],
  "author": {
    "name": "Clément Chigot",
    "email": "clement.chigot@atos.net",
    "time": "Thu Apr 25 07:01:56 2019 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Apr 25 17:49:44 2019 +0900"
  },
  "message": "git-compat-util: work around for access(X_OK) under root\n\nOn AIX, access(X_OK) may succeed when run as root even if the\nexecution isn\u0027t possible. This behavior is allowed by POSIX\nwhich says:\n\n  ... for a process with appropriate privileges, an implementation\n  may indicate success for X_OK even if execute permission is not\n  granted to any user.\n\nIt can lead hook programs to have their execution refused:\n\n   git commit -m content\n   fatal: cannot exec \u0027.git/hooks/pre-commit\u0027: Permission denied\n\nAdd NEED_ACCESS_ROOT_HANDLER in order to use an access helper function.\nIt checks with stat if any executable flags is set when the current user\nis root.\n\nSigned-off-by: Clément Chigot \u003cclement.chigot@atos.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c5240942f29e788ac08daa9329de52aaa3415708",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "b5e2822d82d4b904de004c1e5c2d154b6bb33115",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "19fda3e877641c3c083618928c241351f1caaf91",
      "new_mode": 33188,
      "new_path": "compat/access.c"
    },
    {
      "type": "modify",
      "old_id": "7b105f4cd71a4ea4c1ae9f537ef0fe3eea7d9dc3",
      "old_mode": 33188,
      "old_path": "compat/fileno.c",
      "new_id": "8e80ef335d84ecf5ccec6c5994e684c3951cca17",
      "new_mode": 33188,
      "new_path": "compat/fileno.c"
    },
    {
      "type": "modify",
      "old_id": "4ef11ce41873b03e1a22453f0fafcf3399efd199",
      "old_mode": 33188,
      "old_path": "config.mak.uname",
      "new_id": "97ebacc1c5cc8250186f3e48f4d4b6a86fed6460",
      "new_mode": 33188,
      "new_path": "config.mak.uname"
    },
    {
      "type": "modify",
      "old_id": "6573808ebd991b52eca7cc644af4c9611b9c3747",
      "old_mode": 33188,
      "old_path": "git-compat-util.h",
      "new_id": "e3c79b14782dba08eecc64c2352b98e6e08116a1",
      "new_mode": 33188,
      "new_path": "git-compat-util.h"
    }
  ]
}
