)]}'
{
  "commit": "d20602eec97caa8766820150eff2a07e205c44e1",
  "tree": "fe4283d320ed15d4ba1015f6611f1d16ea563b26",
  "parents": [
    "6490a3383f1d0d96c122069e510ef1af1d019fbb"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jul 27 01:23:03 2007 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Aug 03 01:35:36 2007 -0700"
  },
  "message": "gitweb: do not choke on recursive symlink\n\nIf somebody used to advertise his repository that physically\nresides at /pub/lic.git/ as:\n\n\tgit://git.example.com/pub/lic.git/\n\nbut now wants to use --base-path to allow:\n\n\tgit://git.example.com/lic.git/\n\nshe can start git-daemon with --base-path option, like this:\n\n\tgit-daemon --base-path\u003d/pub --export-all\n\nDuring the transition, however, she would also want to allow\nolder URL as well.  One natural way to achieve that is to create\na symlink:\n\n\tln -s /pub /pub/pub\n\nso that a request to git://git.example.com/pub/lic.git/ is first\ntranslated by --base-path to a request to /pub/pub/lic.git/\nwhich goes to /pub/lic.git, thanks to the symlink.\n\nSo far so good.\n\nHowever, gitweb chokes if there is such a symlink (File::Find\nbarfs with \"/pub/pub is a recursive symbolic link\").  Make the\ncode ignore such a symlink.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "498b936dd48bef9a788b56c2ddbbacb63d1e29b6",
      "old_mode": 33261,
      "old_path": "gitweb/gitweb.perl",
      "new_id": "077eb2f4ca3b597c155a464567f0235a129daa50",
      "new_mode": 33261,
      "new_path": "gitweb/gitweb.perl"
    }
  ]
}
