)]}'
{
  "commit": "d6a31e08cd300d8085af799ff9fe16b5963caab7",
  "tree": "1ddab64362c59255615cb727d990caa419d34b93",
  "parents": [
    "7e837c6477b59cc51756e241ccfee76068e5e379"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Mon Aug 10 17:48:21 2015 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Aug 10 10:59:30 2015 -0700"
  },
  "message": "clone: add tests for output directory\n\nWhen we run \"git clone $url\", clone guesses from the $url\nwhat to name the local output directory. We don\u0027t have any\ntest coverage of this, so let\u0027s add some basic tests.\n\nThis reveals a few problems:\n\n  - cloning \"foo.git/\" does not properly remove the \".git\";\n    this is a recent regression from 7e837c6 (clone:\n    simplify string handling in guess_dir_name(), 2015-07-09)\n\n  - likewise, cloning foo/.git does not seem to handle the\n    bare case (we should end up in foo.git, but we try to\n    use foo/.git on the local end), which also comes from\n    7e837c6.\n\n  - cloning the root is not very smart about URL parsing,\n    and usernames and port numbers may end up in the\n    directory name\n\nAll of these tests are marked as failures.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Patrick Steinhardt \u003cps@pks.im\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "52f61a090a04a28dee810a255f85ead0e889190b",
      "new_mode": 33261,
      "new_path": "t/t5603-clone-dirname.sh"
    }
  ]
}
