)]}'
{
  "commit": "4be982bcc49d69e202fcb02aee4d80ce195aee1b",
  "tree": "33d37622ceeaf288ea27f48bd48a8af75f344add",
  "parents": [
    "1b1db11ec8f43eeafa9418698423dc637655ff0c"
  ],
  "author": {
    "name": "Jay Conrod",
    "email": "jayconrod@google.com",
    "time": "Wed Aug 18 15:21:08 2021 -0700"
  },
  "committer": {
    "name": "Jay Conrod",
    "email": "jayconrod@google.com",
    "time": "Thu Sep 02 22:33:49 2021 +0000"
  },
  "message": "modfile: in SetRequireSeparateIndirect, arrange requirements consistently\n\nSetRequireSeparateIndirect now makes a stronger attempt to keep\nautomatically added requirements in two blocks: one containing only\ndirect requirements and one containing only indirect\nrequirements. SetRequireSeparateIndirect will find or add these two\nblocks (commented blocks are left alone). New requirements are added\nto one of these two blocks. Existing requirements may be moved between\nthese two blocks if their markings change.\n\nSetRequireSeparateIndirect attempts to preserve existing structure in\nthe file by not adding requirements to or moving requirements from\nblocks with block-level comments and blocks other than the last\nuncommented direct-only and indirect-only block.\n\nAs an exception to aid with migration, if the file contains a single\nuncommented block of requirements (as would the be the case if the\nuser started with a 1.16 go.mod file, changed the go directive to\n1.17, then ran \u0027go mod tidy\u0027), SetRequireSeparateIndirect will split\nthe block into direct-only and indirect-only blocks.\n\nThis is a change in behavior, but it has no semantic effect, and it\nshould result in cleaner, more stable go.mod files.\n\nFor golang/go#47563\nFor golang/go#47733\n\nChange-Id: Ifa20bb084c6bdaf1e00140600380857de8afa320\nReviewed-on: https://go-review.googlesource.com/c/mod/+/343431\nTrust: Jay Conrod \u003cjayconrod@google.com\u003e\nTrust: Bryan C. Mills \u003cbcmills@google.com\u003e\nRun-TryBot: Jay Conrod \u003cjayconrod@google.com\u003e\nTryBot-Result: Go Bot \u003cgobot@golang.org\u003e\nReviewed-by: Bryan C. Mills \u003cbcmills@google.com\u003e\nReviewed-by: Michael Matloob \u003cmatloob@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d6a2d3879ec7821c59f0b584ad89857a0f386604",
      "old_mode": 33188,
      "old_path": "modfile/rule.go",
      "new_id": "9f7f1154c686064560e3e66e3e7658151f01579c",
      "new_mode": 33188,
      "new_path": "modfile/rule.go"
    },
    {
      "type": "modify",
      "old_id": "68d74c550e9905841517eacd1ff7c0b9cb4149bf",
      "old_mode": 33188,
      "old_path": "modfile/rule_test.go",
      "new_id": "93dfae0ba1b571a99dfda7c97227083c28ba68a9",
      "new_mode": 33188,
      "new_path": "modfile/rule_test.go"
    }
  ]
}
