)]}'
{
  "commit": "270a34438b0776c072268838a8e8aa786494cfee",
  "tree": "fc78eb7336b3452911acae8adedd3dba41b5afeb",
  "parents": [
    "c9b5e2a57d2a69e0c6183758445da2f230b5a9f0"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Thu Feb 16 03:07:32 2012 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Feb 17 07:58:54 2012 -0800"
  },
  "message": "config: stop using config_exclusive_filename\n\nThe git-config command sometimes operates on the default set\nof config files (either reading from all, or writing to repo\nconfig), and sometimes operates on a specific file. In the\nlatter case, we set the magic global config_exclusive_filename,\nand the code in config.c does the right thing.\n\nInstead, let\u0027s have git-config use the \"advanced\" variants\nof config.c\u0027s functions which let it specify an individual\nfilename (or NULL for the default). This makes the code a\nlot more obvious, and fixes two small bugs:\n\n  1. A relative path specified by GIT_CONFIG\u003dfoo will look\n     in the wrong directory if we have to chdir as part of\n     repository setup. We already handle this properly for\n     \"git config -f foo\", but the GIT_CONFIG lookup used\n     config_exclusive_filename directly. By dropping to a\n     single magic variable, the GIT_CONFIG case now just\n     works.\n\n  2. Calling \"git config -f foo --edit\" would not respect\n     core.editor. This is because just before editing, we\n     called git_config, which would respect the\n     config_exclusive_filename setting, even though this\n     particular git_config call was not about looking in the\n     user\u0027s specified file, but rather about loading actual\n     git config, just as any other git program would.\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": "55854bef684752f1ca92d7081d536fbccaed6b1e",
      "old_mode": 33188,
      "old_path": "builtin/config.c",
      "new_id": "ccbb13add2b80e39ef806d352850d85e1f73f819",
      "new_mode": 33188,
      "new_path": "builtin/config.c"
    },
    {
      "type": "modify",
      "old_id": "6de46bbd57a18e4fd7b3aee8df49abfa8fd4a9c1",
      "old_mode": 33261,
      "old_path": "t/t1300-repo-config.sh",
      "new_id": "5f249f681e9324d7d35e3aee4dc9a834beff6c75",
      "new_mode": 33261,
      "new_path": "t/t1300-repo-config.sh"
    }
  ]
}
