)]}'
{
  "commit": "d3e847c107c236126476e7efb272be3fa4339825",
  "tree": "9c11a24464851c65cb020c3571887e28ae94c9f1",
  "parents": [
    "abca927dbef2c310056b8a1a8be5561212b3243a"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Sat Dec 10 05:31:17 2011 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sun Dec 11 23:16:24 2011 -0800"
  },
  "message": "credential: add function for parsing url components\n\nAll of the components of a credential struct can be found in\na URL.  For example, the URL:\n\n  http://foo:bar@example.com/repo.git\n\ncontains:\n\n  protocol\u003dhttp\n  host\u003dexample.com\n  path\u003drepo.git\n  username\u003dfoo\n  password\u003dbar\n\nWe want to be able to turn URLs into broken-down credential\nstructs so that we know two things:\n\n  1. Which parts of the username/password we still need\n\n  2. What the context of the request is (for prompting or\n     as a key for storing credentials).\n\nThis code is based on http_auth_init in http.c, but needed a\nfew modifications in order to get all of the components that\nthe credential object is interested in.\n\nOnce the http code is switched over to the credential API,\nthen http_auth_init can just go away.\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": "f624aefc6faae828e7caabb4b335a9c659444768",
      "old_mode": 33188,
      "old_path": "Documentation/technical/api-credentials.txt",
      "new_id": "21ca6a2553280a111eca47f2f7aea37ea43ecfa0",
      "new_mode": 33188,
      "new_path": "Documentation/technical/api-credentials.txt"
    },
    {
      "type": "modify",
      "old_id": "86397f392b8e6bd9580928653f6d1103b05f4417",
      "old_mode": 33188,
      "old_path": "credential.c",
      "new_id": "c349b9aac3999ba4dbce16fd82b582cd60d61761",
      "new_mode": 33188,
      "new_path": "credential.c"
    },
    {
      "type": "modify",
      "old_id": "2ea7d495d6bbcd4ad5496dbce759c45a880175ba",
      "old_mode": 33188,
      "old_path": "credential.h",
      "new_id": "8a6d162e7b477d329b23effae8f0007163f39f3d",
      "new_mode": 33188,
      "new_path": "credential.h"
    }
  ]
}
