)]}'
{
  "commit": "0110f33aa8b08f339b78b9fccd3b9f256202c276",
  "tree": "7c2108f0130bd2d1c49b4597eb595bb8d85fb664",
  "parents": [
    "b9e5cff1803ab24582201ef059516eb16014b9d9"
  ],
  "author": {
    "name": "Fien Dora",
    "email": "fiendora5@gmail.com",
    "time": "Thu Oct 29 13:17:15 2026 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Oct 29 11:55:10 2026 -0700"
  },
  "message": "t1402: test --no-allow-onelevel option precedence\n\nUnlike most Git commands that use the parse_options() API,\ncheck-ref-format relies on a handcrafted loop to parse command-line\noptions. Although the --no- prefix is commonly used to negate options\nin Git, the precedence of --allow-onelevel and --no-allow-onelevel\nis not explicitly covered by the existing tests.\n\nAdd regression tests for both orders of --allow-onelevel and\n--no-allow-onelevel to verify that the last option takes precedence.\nThe tests confirm that --no-allow-onelevel overrides a preceding\n--allow-onelevel, and that --allow-onelevel similarly overrides a\npreceding --no-allow-onelevel.\n\nTo improve Git\u0027s command-line argument parsing, I plan to\nexplore converting check-ref-format\u0027s handcrafted parser to\nparse_options() API in a separate patch series. These tests\nestablish the current option-precedence behavior that the\nconversion would need to preserve.\n\nSigned-off-by: Fien Dora \u003cfiendora5@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9dd64662b25be9ea4f3bd65494c055f77d46da06",
      "old_mode": 33261,
      "old_path": "t/t1402-check-ref-format.sh",
      "new_id": "6036df02107e9c4077c37628235496d2bd467f91",
      "new_mode": 33261,
      "new_path": "t/t1402-check-ref-format.sh"
    }
  ]
}
