)]}'
{
  "commit": "1129596dc88a5b0ad53e0d36981bd91c2352cba8",
  "tree": "3ed8825b558da0b6189f4adda7537df16fc87a8c",
  "parents": [
    "16bd9f20a403117f2e0d9bcda6c6e621d3763e77"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Mon Jun 23 06:55:42 2025 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Jun 23 10:30:40 2025 -0700"
  },
  "message": "t7422: replace confusing printf with echo\n\nWhile looping over a counter \"i\", we do:\n\n  printf \"[submodule \\\"sm-$i\\\"]\\npath \u003d recursive-submodule-path-$i\\n\" \"$i\"\n\nSo we are passing \"$i\" as an argument to be filled in, but there is no\n\"%\" placeholder in the format string, which is a bit confusing to read.\n\nWe could switch both instances of \"$i\" to \"%d\" (and pass $i twice). But\nthat makes the line even longer. Let\u0027s just keep interpolating the value\nin the string, and drop the confusing extra \"$i\" argument.\n\nAnd since we are not using any printf specifiers at all, it becomes\nclear that we can swap it out for echo. We do use a \"\\n\" in the middle\nof the string, but breaking this into two separate echo statements\nactually makes it easier to read.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "023a5cbdc44bac2389fca45cf7017750627c4ce9",
      "old_mode": 33261,
      "old_path": "t/t7422-submodule-output.sh",
      "new_id": "ea67057f1a41d9b290280480c1b19c924d6dea7b",
      "new_mode": 33261,
      "new_path": "t/t7422-submodule-output.sh"
    }
  ]
}
