)]}'
{
  "commit": "0667b8ec4d8b10ebc57271642953de6852c3331b",
  "tree": "d21824f7c48a3c7501a9f6b47db69ced8373fab3",
  "parents": [
    "a43ad1e56d5654f78743e461efe72060d447f586"
  ],
  "author": {
    "name": "Ivan Frade",
    "email": "ifrade@google.com",
    "time": "Mon May 24 17:31:25 2021 -0700"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Wed May 26 14:32:04 2021 +0200"
  },
  "message": "RepoCommand: Do not set \u0027branch\u0027 if the revision is a tag\n\nThe \"branch\" field in the .gitmodules is the signal for gerrit to keep\nthe superproject autoupdated. Tags are immutable and there is no need to\ntrack them, plus the cgit client requires the field to be a \"remote\nbranch name\" but not a tag.\n\nDo not set the \"branch\" field if the revision is a tag. Keep those tags\nin another field (\"ref\") as they help other tools to find the commit in\nthe destination repository.\n\nWe can still have false negatives when a refname is not fully qualified,\nbut this check covers e.g. the most common case in android.\n\nNote that the javadoc of #setRecordRemoteBranch already mentions that\n\"submodules that request a tag will not have branch name recorded\".\n\nChange-Id: Ib1c321a4d3b7f8d51ca2ea204f72dc0cfed50c37\nSigned-off-by: Ivan Frade \u003cifrade@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae4db0b7d838560cc119f64ef85c770972400ee7",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java",
      "new_id": "509adc2cb2249ee35dcd900142544ddc98131323",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java"
    },
    {
      "type": "modify",
      "old_id": "c039aaffa94e89ee25c0e02122c0c34ddd233c9e",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java",
      "new_id": "5bf95def95466aa7b55d408c54a0862560829d12",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java"
    }
  ]
}
