)]}'
{
  "commit": "acbceddd97fb86dca96d0cd1ec45807335d7f7fc",
  "tree": "42551dbe7d4ac0a0fd4f34b4889087cd9540afe8",
  "parents": [
    "b571f2c1b9272a14710e15f719dff8af86b79f06"
  ],
  "author": {
    "name": "tanzhengwei",
    "email": "tanzhengwei@google.com",
    "time": "Tue Feb 09 06:00:31 2021 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Feb 09 06:01:37 2021 -0800"
  },
  "message": "Sort output of `query --order_output\u003dauto` lexicographically by default.\n\nThe `--incompatible_lexicographical_output` flag has two effects when used together with `--order_output\u003dauto`:\n1. It sorts the output lexicographically.\n2. It uses the graphless query implementation.\n\nSorting the output lexicographically allows us to make the outputs of query and genquery consistent.\n\nBy using the graphless query implementation, query performance improves by at least ~60% in wall time (from some of our benchmarks).\n\nThe flag is ignored when `somepath` is used as a top level function (e.g. `query \u0027somepath(a,b)\u0027`), and continue to output in dependency order instead of lexicographical order.\n\nUsing `--order_output\u003dno` would make query even faster if you do not require a lexicographically sorted or deterministic output.\n\nRELNOTES[INC]: Query `--order_output\u003dauto` will now sort lexicographically. However, when `somepath` is used as a top level function (e.g. `query \u0027somepath(a, b)\u0027`), it will continue to output in dependency order. If you do not want the lexicographical output ordering, specify another `--order_output` value (`no`, `deps` or `full`) based on what ordering you require.\n\nPiperOrigin-RevId: 356483939\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9faf8c675df61ed9b6ec4b8f541c583ae4b70a2e",
      "old_mode": 33188,
      "old_path": "site/docs/query.html",
      "new_id": "48ae8a7080b3641afe43a936e7f33a5a44d1a37b",
      "new_mode": 33188,
      "new_path": "site/docs/query.html"
    },
    {
      "type": "modify",
      "old_id": "563e10b53cdacc1b60c31615662a937f523047d7",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/query2/query/output/QueryOptions.java",
      "new_id": "4a7eb3505217c875c2216f57f23a38ed8b0777ec",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/query2/query/output/QueryOptions.java"
    },
    {
      "type": "modify",
      "old_id": "3a5bbf3ecf61946b4dc36f099c76ae526215e5ee",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/buildtool/QueryIntegrationTest.java",
      "new_id": "ab81fd0ef3a3d5b499c6a6f24c64bcf67ee1529d",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/buildtool/QueryIntegrationTest.java"
    },
    {
      "type": "modify",
      "old_id": "049c64e5bc87e43b64db06a2f5fdb9f56cb6b2fa",
      "old_mode": 33261,
      "old_path": "src/test/shell/integration/loading_phase_test.sh",
      "new_id": "5d2609f8c6597c5404b4779ed3dca5a2d67ed346",
      "new_mode": 33261,
      "new_path": "src/test/shell/integration/loading_phase_test.sh"
    }
  ]
}
