)]}'
{
  "commit": "f24c30e0b6b13078d8fc7cd71b9989d28fd76610",
  "tree": "9b013a5a9bede34aacc64ccdb958ecb6505d826c",
  "parents": [
    "ec06b05568bb9dbb7333a5974b4512db18395674"
  ],
  "author": {
    "name": "Jonathan Tan",
    "email": "jonathantanmy@google.com",
    "time": "Tue Sep 01 15:28:09 2020 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Sep 02 14:39:25 2020 -0700"
  },
  "message": "wt-status: tolerate dangling marks\n\nWhen a user checks out the upstream branch of HEAD, the upstream branch\nnot being a local branch, and then runs \"git status\", like this:\n\n  git clone $URL client\n  cd client\n  git checkout @{u}\n  git status\n\nno status is printed, but instead an error message:\n\n  fatal: HEAD does not point to a branch\n\n(This error message when running \"git branch\" persists even after\nchecking out other things - it only stops after checking out a branch.)\n\nThis is because \"git status\" reads the reflog when determining the \"HEAD\ndetached\" message, and thus attempts to DWIM \"@{u}\", but that doesn\u0027t\nwork because HEAD no longer points to a branch.\n\nTherefore, when calculating the status of a worktree, tolerate dangling\nmarks. This is done by adding an additional parameter to\ndwim_ref() and repo_dwim_ref().\n\nSigned-off-by: Jonathan Tan \u003cjonathantanmy@google.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fb39706120cdd6b668fbc10cefad608692587d09",
      "old_mode": 33188,
      "old_path": "archive.c",
      "new_id": "0de6048bfccb8df89a1fce9abbeb3d0f65f004fc",
      "new_mode": 33188,
      "new_path": "archive.c"
    },
    {
      "type": "modify",
      "old_id": "7095f7805869811c07aa25d9fbfd9c68ddc7d08d",
      "old_mode": 33188,
      "old_path": "branch.c",
      "new_id": "9c9dae1eae321c6878607a3b624a187fcb176380",
      "new_mode": 33188,
      "new_path": "branch.c"
    },
    {
      "type": "modify",
      "old_id": "af849c644fec1852845b1dfdb6ce8daa903e0fb5",
      "old_mode": 33188,
      "old_path": "builtin/checkout.c",
      "new_id": "6350df83b51d6dba35bcae93d50bec9147e1c5e8",
      "new_mode": 33188,
      "new_path": "builtin/checkout.c"
    },
    {
      "type": "modify",
      "old_id": "9f37895d4cf2ecb01c62e490be7a100ce5256398",
      "old_mode": 33188,
      "old_path": "builtin/fast-export.c",
      "new_id": "1b8fca3ee000aa8f1fe49f407d538da09ac8a43b",
      "new_mode": 33188,
      "new_path": "builtin/fast-export.c"
    },
    {
      "type": "modify",
      "old_id": "d104d5c6889ba2d2ffaaeafa08fbfcd759d8bc92",
      "old_mode": 33188,
      "old_path": "builtin/log.c",
      "new_id": "76578c46fd463ba475cb7b92e9b1cb670f7e84a0",
      "new_mode": 33188,
      "new_path": "builtin/log.c"
    },
    {
      "type": "modify",
      "old_id": "7da707bf55d94f0a151fb03954b3b107e408e551",
      "old_mode": 33188,
      "old_path": "builtin/merge.c",
      "new_id": "835b2f497870d6a611421a067166e6bcb45bbe25",
      "new_mode": 33188,
      "new_path": "builtin/merge.c"
    },
    {
      "type": "modify",
      "old_id": "8ae69d6f2b9e5e1760dd40d32631b0ecf48a31e6",
      "old_mode": 33188,
      "old_path": "builtin/reset.c",
      "new_id": "c635b062c3a7b1cf2ad53b34f1471f5eeee83cce",
      "new_mode": 33188,
      "new_path": "builtin/reset.c"
    },
    {
      "type": "modify",
      "old_id": "669dd2fd6f087628c3d7dc9ba165771825418799",
      "old_mode": 33188,
      "old_path": "builtin/rev-parse.c",
      "new_id": "ed200c8af1285ed4ac45a50aaa6275a739585836",
      "new_mode": 33188,
      "new_path": "builtin/rev-parse.c"
    },
    {
      "type": "modify",
      "old_id": "7e52ee91264a63713da5178add167f8d62c36877",
      "old_mode": 33188,
      "old_path": "builtin/show-branch.c",
      "new_id": "a472862c303e87715c0b21b0c812ff7efad08c09",
      "new_mode": 33188,
      "new_path": "builtin/show-branch.c"
    },
    {
      "type": "modify",
      "old_id": "0c52a3b849c4c6f811995f3be89284052c2dd313",
      "old_mode": 33188,
      "old_path": "builtin/stash.c",
      "new_id": "9312cd19b92df0f0610fb9bc436ad11a5a512a3d",
      "new_mode": 33188,
      "new_path": "builtin/stash.c"
    },
    {
      "type": "modify",
      "old_id": "2a0d744d3fa51b2bbbb307a04f7e32a45b1b690d",
      "old_mode": 33188,
      "old_path": "bundle.c",
      "new_id": "b5f60fa7b2bbc0575b982aac6157d2e5b1ff7443",
      "new_mode": 33188,
      "new_path": "bundle.c"
    },
    {
      "type": "modify",
      "old_id": "01a3da5192650a71fb27a7e5d78d15921fe08678",
      "old_mode": 33188,
      "old_path": "cache.h",
      "new_id": "f0090a00210b4a34529c82f300b5465f23bd4046",
      "new_mode": 33188,
      "new_path": "cache.h"
    },
    {
      "type": "modify",
      "old_id": "7128895c3ad86c261b2260d7faba0f79f263b1ca",
      "old_mode": 33188,
      "old_path": "commit.c",
      "new_id": "9b5a34cfd763b48514551d45f285fd1bbd259240",
      "new_mode": 33188,
      "new_path": "commit.c"
    },
    {
      "type": "modify",
      "old_id": "e107919b94305a9260b253d4bc70578f3e881b9b",
      "old_mode": 33188,
      "old_path": "refs.c",
      "new_id": "ae27afc5e92b7d2b6c9a699f82e53ef496f4dbe0",
      "new_mode": 33188,
      "new_path": "refs.c"
    },
    {
      "type": "modify",
      "old_id": "04a68540c33be812b04cc71b04b8ecb2c120bf63",
      "old_mode": 33188,
      "old_path": "refs.h",
      "new_id": "411a68a0e54e2f5f08bbf1c39f365bdac167ce80",
      "new_mode": 33188,
      "new_path": "refs.h"
    },
    {
      "type": "modify",
      "old_id": "bc46413e6a75788da66b5c0c6bec9aa5a52c5403",
      "old_mode": 33188,
      "old_path": "remote.c",
      "new_id": "b7460bd083b763c032722767f9e92a62697fe8f2",
      "new_mode": 33188,
      "new_path": "remote.c"
    },
    {
      "type": "modify",
      "old_id": "a7a9de66c4577540799fad3230c65c9e17fbe583",
      "old_mode": 33188,
      "old_path": "sha1-name.c",
      "new_id": "0b23b86ceb4433ece828e780be180579a77f3fe8",
      "new_mode": 33188,
      "new_path": "sha1-name.c"
    },
    {
      "type": "modify",
      "old_id": "8e969f3e3680d856073460b5b15e524ad9170d7f",
      "old_mode": 33261,
      "old_path": "t/t7508-status.sh",
      "new_id": "2e566a9c32678f8e326708bb5d6287045ae8e552",
      "new_mode": 33261,
      "new_path": "t/t7508-status.sh"
    },
    {
      "type": "modify",
      "old_id": "c560cbe860a42daa136e16195535ef10e2ab0a9f",
      "old_mode": 33188,
      "old_path": "wt-status.c",
      "new_id": "6cb519ec07708ef04e68a3a56936e511d49b3cca",
      "new_mode": 33188,
      "new_path": "wt-status.c"
    }
  ]
}
