)]}'
{
  "commit": "9ebd7fe15869910c81c42290bd80296664597dec",
  "tree": "468e6cdeefb78a29eff87e4e7d649cb188a5f286",
  "parents": [
    "48960894f5a89639809bdad5618439ba59869522"
  ],
  "author": {
    "name": "Matheus Tavares",
    "email": "matheus.bernardino@usp.br",
    "time": "Mon Feb 22 22:10:35 2021 -0300"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Feb 24 12:14:51 2021 -0800"
  },
  "message": "add: propagate --chmod errors to exit status\n\nIf `add` encounters an error while applying the --chmod changes, it\nprints a message to stderr, but exits with a success code. This might\nhave been an oversight, as the command does exit with a non-zero code in\nother situations where it cannot (or refuses to) update all of the\nrequested paths (e.g. when some of the given paths are ignored). So make\nthe exit behavior more consistent by also propagating --chmod errors to\nthe exit status.\n\nNote: the test \"all statuses changed in folder if . is given\" uses paths\nadded by previous test cases, some of which might be symbolic links.\nBecause `git add --chmod` will now fail with such paths, this test would\ndepend on whether all the previous tests were executed, or only some\nof them. Avoid that by running the test on a fresh repo with only\nregular files.\n\nSigned-off-by: Matheus Tavares \u003cmatheus.bernardino@usp.br\u003e\nReviewed-by: Taylor Blau \u003cme@ttaylorr.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c5f53c0bb7f3d922078b3d282ec77aa725f66ac",
      "old_mode": 33188,
      "old_path": "builtin/add.c",
      "new_id": "ea762a41e3a2d2c41718de2e97c6a0e6031ce91c",
      "new_mode": 33188,
      "new_path": "builtin/add.c"
    },
    {
      "type": "modify",
      "old_id": "6a8b94a4f742c83780819f3964fc19a200782dff",
      "old_mode": 33261,
      "old_path": "t/t3700-add.sh",
      "new_id": "d402c775c04e7280802ee613c933baf3f987a2fe",
      "new_mode": 33261,
      "new_path": "t/t3700-add.sh"
    }
  ]
}
