)]}'
{
  "commit": "d79b14556922e5b7139268e92f2dface8d174278",
  "tree": "2ab668dcc18b4caac5577af079df096b7e6c3600",
  "parents": [
    "f0c6b6467d60d9c8442ebf4a4b4bd53ebc9bcb4e"
  ],
  "author": {
    "name": "Shourya Shukla",
    "email": "shouryashukla.oo@gmail.com",
    "time": "Thu Aug 27 23:15:01 2020 +0530"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 27 11:47:10 2020 -0700"
  },
  "message": "t7421: eliminate \u0027grep\u0027 check in t7421.4 for mingw compatibility\n\nThe \u0027grep\u0027 check in test 4 of t7421 resulted in the failure of t7421 on\nWindows due to a different error message\n\n    error: cannot spawn git: No such file or directory\n\ninstead of\n\n    fatal: exec \u0027rev-parse\u0027: cd to \u0027my-subm\u0027 failed: No such file or directory\n\nTighten up the check to compute \u0027src_abbrev\u0027 by guarding the\n\u0027verify_submodule_committish()\u0027 call using `p-\u003estatus !\u003d\u0027D\u0027`, so that\nthe former isn\u0027t called in case of non-existent submodule directory,\nconsequently, there is no such error message on any execution\nenvironment. The same need not be implemented for \u0027dst_abbrev\u0027 and is\nrather redundant since the conditional \u0027if (S_ISGITLINK(p-\u003emod_dst))\u0027\nalready guards the \u0027verify_submodule_committish()\u0027 when we have a\nstatus of \u0027D\u0027.\n\nTherefore, eliminate the \u0027grep\u0027 check in t7421. Instead, verify the\nabsence of an error message by doing a \u0027test_must_be_empty\u0027 on the\nfile containing the error.\n\nReported-by: Johannes Schindelin \u003cJohannes.Schindelin@gmx.de\u003e\nHelped-by: Kaartic Sivaraam \u003ckaartic.sivaraam@gmail.com\u003e\nMentored-by: Christian Couder \u003cchriscool@tuxfamily.org\u003e\nMentored-by: Kaartic Sivaraam \u003ckaartic.sivaraam@gmail.com\u003e\nSigned-off-by: Shourya Shukla \u003cshouryashukla.oo@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "93d0700891993edbef7fdcadde7c1b4c5807b66e",
      "old_mode": 33188,
      "old_path": "builtin/submodule--helper.c",
      "new_id": "1db1176e48dd9d203683382efc3065856913bc3b",
      "new_mode": 33188,
      "new_path": "builtin/submodule--helper.c"
    },
    {
      "type": "modify",
      "old_id": "59a9b00467dcb043b8e522022a45cb19a3636f4c",
      "old_mode": 33261,
      "old_path": "t/t7421-submodule-summary-add.sh",
      "new_id": "b070f13714a7ee194e513cffd143ef2b0039afe3",
      "new_mode": 33261,
      "new_path": "t/t7421-submodule-summary-add.sh"
    }
  ]
}
