)]}'
{
  "commit": "29198213c9163c1d552ee2bdbf78d2b09ccc98b8",
  "tree": "f1034e921aedb3faed6d3ac3250de764fb535530",
  "parents": [
    "2f3b28f27234a0130583131a6785c44e3dd1cac4"
  ],
  "author": {
    "name": "Taylor Blau",
    "email": "me@ttaylorr.com",
    "time": "Thu Apr 06 11:42:03 2023 -0400"
  },
  "committer": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Mon Apr 17 21:15:39 2023 +0200"
  },
  "message": "t1300: demonstrate failure when renaming sections with long lines\n\nWhen renaming a configuration section which has an entry whose length\nexceeds the size of our buffer in config.c\u0027s implementation of\n`git_config_copy_or_rename_section_in_file()`, Git will incorrectly\nform a new configuration section with part of the data in the section\nbeing removed.\n\nIn this instance, our first configuration file looks something like:\n\n    [b]\n      c \u003d d \u003cspaces\u003e [a] e \u003d f\n    [a]\n      g \u003d h\n\nHere, we have two configuration values, \"b.c\", and \"a.g\". The value \"[a]\ne \u003d f\" belongs to the configuration value \"b.c\", and does not form its\nown section.\n\nHowever, when renaming the section \u0027a\u0027 to \u0027xyz\u0027, Git will write back\n\"[xyz]\\ne \u003d f\", but \"[xyz]\" is still attached to the value of \"b.c\",\nwhich is why \"e \u003d f\" on its own line becomes a new entry called \"b.e\".\n\nA slightly different example embeds the section being renamed within\nanother section.\n\nDemonstrate this failure in a test in t1300, which we will fix in the\nfollowing commit.\n\nCo-authored-by: Johannes Schindelin \u003cJohannes.Schindelin@gmx.de\u003e\nHelped-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Johannes Schindelin \u003cJohannes.Schindelin@gmx.de\u003e\nSigned-off-by: Taylor Blau \u003cme@ttaylorr.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a4156c70434f34ef7693d60b5932d92d18845b0",
      "old_mode": 33261,
      "old_path": "t/t1300-config.sh",
      "new_id": "cd8f744160e8bae4421e589545bb9a4c54802e6a",
      "new_mode": 33261,
      "new_path": "t/t1300-config.sh"
    }
  ]
}
