)]}'
{
  "commit": "dd008b3b11286804bc7880bac10c34a76355fe92",
  "tree": "2747dab10a1a4b41468dfa34968ab32520e59a07",
  "parents": [
    "e44b6df90cfd6ccbf35c3d147ff5a0e4e22fb17a"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Sat Jul 30 09:05:54 2011 -0600"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Jul 31 18:40:34 2011 -0700"
  },
  "message": "t7400: fix bogus test failure with symlinked trash\n\nOne of the tests in t7400 fails if the trash directory has a\nsymlink anywhere in its path. E.g.:\n\n  $ mkdir /tmp/git-test\n  $ mkdir /tmp/git-test/real\n  $ ln -s real /tmp/git-test/link\n\n  $ ./t7400-submodule-basic --root\u003d/tmp/git-test/real\n  ...\n  # passed all 44 test(s)\n\n  $ ./t7400-submodule-basic --root\u003d/tmp/git-test/link\n  ...\n  not ok - 41 use superproject as upstream when path is relative and no url is set there\n\nThe failing test does:\n\n  git submodule add ../repo relative \u0026\u0026\n  ...\n  git submodule sync relative \u0026\u0026\n  test \"$(git config submodule.relative.url)\" \u003d \"$submodurl/repo\"\n\nwhere $submodurl comes from the $TRASH_DIRECTORY the user\ngave us. However, git will resolve symlinks when converting\nthe relative path into an absolute one, leading them to be\ntextually different (even though they point to the same\ndirectory).\n\nFix this by asking pwd to canonicalize the name of the trash\ndirectory for us.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nAcked-by: Jens Lehmann \u003cJens.Lehmann@web.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "874279e32da98ac2c20137a207a0d115f073e444",
      "old_mode": 33261,
      "old_path": "t/t7400-submodule-basic.sh",
      "new_id": "3f115d9ca966879ccd7d587911d7d54bc88c08c2",
      "new_mode": 33261,
      "new_path": "t/t7400-submodule-basic.sh"
    }
  ]
}
