)]}'
{
  "commit": "008a44fa1c33b8a77c90b4e9dba267ae23c01056",
  "tree": "896b993627c146b89838742c26a9c12cefd27c69",
  "parents": [
    "4760b6ec1f7fbcee1bf238a25e3df56a86327a5a"
  ],
  "author": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sun Apr 14 23:39:47 2024 +0200"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Mon Jul 22 10:08:47 2024 +0000"
  },
  "message": "dediprog: Split read/write command preparation by protocol\n\nThere has been a forest of `if`s growing inside prepare_rw_cmd(). And\nthe V3 protocol allows for more flexibility that would result in even\nmore branches if we\u0027d continue adding to this function.\n\nInstead, split it into one function per protocol version  and provide\na pointer to it in our context structure. This will allow us to adapt\nthe V3 function more easily and only sacrifices a little code sharing\nbetween V2 and V3.  We also let it return the number of bytes for the\ncommand packet and define a maximum size, to simplify the API.\n\nChange-Id: Ibe9da3d3f1aac74309b89f840d9ce9e6e7978405\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-on: https://review.sourcearcade.org/c/flashprog/+/126\nReviewed-by: Arthur Heymans \u003carthur@aheymans.xyz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "21efa4d08a231ecfd530a7240bdbb7e7cf1327f9",
      "old_mode": 33188,
      "old_path": "dediprog.c",
      "new_id": "b8cc2317f3030e0b4ce712c1cf191617b4d6c160",
      "new_mode": 33188,
      "new_path": "dediprog.c"
    }
  ]
}
