)]}'
{
  "commit": "efa5f82540ac0ea75ac185324a78fa230befa050",
  "tree": "5bbe49cc5624233f5cc6009e74f2114b8c597c64",
  "parents": [
    "ab3aebc15c13d083013591777688cecbcb703fb2"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Thu Mar 28 17:50:04 2013 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Mar 28 21:48:27 2013 -0700"
  },
  "message": "t: check that a pattern without trailing slash matches a directory\n\nPrior to v1.8.1.1, with:\n\n  git init\n  echo content \u003efoo \u0026\u0026\n  mkdir subdir \u0026\u0026\n  echo content \u003esubdir/bar \u0026\u0026\n  echo \"subdir export-ignore\" \u003e.gitattributes\n  git add . \u0026\u0026\n  git commit -m one \u0026\u0026\n  git archive HEAD | tar tf -\n\nthe resulting archive would contain only \"foo\" and \".gitattributes\",\nnot subdir.  This was broken with a recent change that intended to\nallow \"subdir/ export-ignore\" to also exclude the directory, but\ninstead ended up _requiring_ the trailing slash by mistake.\n\nA pattern \"subdir\" should match any path \"subdir\", whether it is a\ndirectory or a non-directory.  A pattern \"subdir/\" insists that a\npath \"subdir\" must be a directory for it to match.\n\nThis patch adds test not just for this simple case, but also for\ndeeper cross-directory cases, as well as cases with wildcards.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c847fb45482b67266dc6eb9ec62b8cc7b5a9d76",
      "old_mode": 33261,
      "old_path": "t/t5002-archive-attr-pattern.sh",
      "new_id": "6667d159ab0950f10a3271f1cb81a63953214f17",
      "new_mode": 33261,
      "new_path": "t/t5002-archive-attr-pattern.sh"
    }
  ]
}
