)]}'
{
  "commit": "52df70c669244a92ee011282c1e438a1699ac4ac",
  "tree": "2235c4acb82598aa20303bb1c0ad352a62ae9988",
  "parents": [
    "3513ff1afc1d67adb2e6f492f0b9bc0d798fcb0d"
  ],
  "author": {
    "name": "Christopher Haster",
    "email": "geky@geky.net",
    "time": "Wed Jan 17 14:38:04 2024 -0600"
  },
  "committer": {
    "name": "Christopher Haster",
    "email": "geky@geky.net",
    "time": "Wed Jan 17 14:38:04 2024 -0600"
  },
  "message": "Fixed name ordering when names only differ in length\n\nWild this hasn\u0027t been caught until now.\n\nBecause the exact ordering of the comparison in lfs_bd_cmp is a bit\nambiguous, lfs_dir_find_match returned the wrong result when filenames\nwere equal, and only differed in length.\n\nFor example:\n\n  - cmp(\"a\", \"aa\") should be LFS_CMP_LT\n  - cmp(\"aaa\", \"aa\") should be LFS_CMP_GT\n\nWe\u0027re quite lucky that none of the littlefs internals currently depend\non the sorted order, otherwise we\u0027d probably be stuck with this weird\nordering for backwards compatibility reasons...\n\nFixed, and added some test cases over directory ordering to prevent\nregression in the future.\n\nFound by andriyndev\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a152687f98b8f45217198cfc43b634b8a8478e57",
      "old_mode": 33188,
      "old_path": "lfs.c",
      "new_id": "49897cc477c9b05b30aba978d5dcd56b863f4fb7",
      "new_mode": 33188,
      "new_path": "lfs.c"
    },
    {
      "type": "modify",
      "old_id": "4262a1aa00c2c03b8a3771ecaa03e0b99cefcca9",
      "old_mode": 33188,
      "old_path": "tests/test_dirs.toml",
      "new_id": "06363d5b7f54413a18b4263d4b0a89b07cb06626",
      "new_mode": 33188,
      "new_path": "tests/test_dirs.toml"
    }
  ]
}
