)]}'
{
  "commit": "5ece420f031bd693fc44e1ce423c7e67fd7b8a09",
  "tree": "f2275e34adfc0afc63730990cf8aa088a6f6354e",
  "parents": [
    "a78f19d3ec8e5c0f82c860870f1ddc442ca45e25"
  ],
  "author": {
    "name": "наб",
    "email": "nabijaczleweli@nabijaczleweli.xyz",
    "time": "Tue Dec 07 21:30:10 2021 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Dec 07 12:30:10 2021 -0800"
  },
  "message": "contrib/bash_completion.d: fix error spew from __zfs_match_snapshot()\n\nGiven:\r\n  /sbin/zfs list filling/a-zvol\u003cTAB\u003e -o space,refratio\r\nThe rest of the cmdline gets vored by:\r\n  /sbin/zfs list filling/a-zvolcannot open \u0027filling/a-zvol\u0027:\r\n  operation not applicable to datasets of this type\r\n\r\nWith -x (fragment):\r\n  + COMPREPLY\u003d($(compgen -W \"$(__zfs_match_snapshot)\" -- \"$cur\"))\r\n  +++ __zfs_match_snapshot\r\n  +++ local base_dataset\u003dfilling/dziadtop-nowe-duchy\r\n  +++ [[ filling/dziadtop-nowe-duchy !\u003d filling/dziadtop-nowe-duchy ]]\r\n  +++ [[ filling/dziadtop-nowe-duchy !\u003d \u0027\u0027 ]]\r\n  +++ __zfs_list_datasets filling/dziadtop-nowe-duchy\r\n  +++ /sbin/zfs list -H -o name -s name -t filesystem\r\n                     -r filling/dziadtop-nowe-duchy\r\n  +++ tail -n +2\r\n  cannot open \u0027filling/dziadtop-nowe-duchy\u0027:\r\n  operation not applicable to datasets of this type\r\n  +++ echo filling/dziadtop-nowe-duchy\r\n  +++ echo filling/dziadtop-nowe-duchy@\r\n  ++ compgen -W \u0027filling/dziadtop-nowe-duchy\r\n\r\nThis properly completes with:\r\n  $ /sbin/zfs list filling/a-zvol\u003cTAB\u003e -o space,refratio\r\n  filling/a-zvol   filling/a-zvol@\r\n  $ /sbin/zfs list filling/a-zvol\u003ccursor\u003e -o space,refratio\r\n\r\nReviewed-by: Brian Behlendorf \u003cbehlendorf1@llnl.gov\u003e\r\nSigned-off-by: Ahelenia Ziemiańska \u003cnabijaczleweli@nabijaczleweli.xyz\u003e\r\nCloses #12820",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6b467d80ca978be7ea2cf0b93cf37433adf2eb2b",
      "old_mode": 33188,
      "old_path": "contrib/bash_completion.d/zfs.in",
      "new_id": "72e1092a039bd13ea5a39ba30220914b7ddb2b7f",
      "new_mode": 33188,
      "new_path": "contrib/bash_completion.d/zfs.in"
    }
  ]
}
