)]}'
{
  "commit": "7825d7bf9324655a6288d0e4e5944a9699819d3b",
  "tree": "f20eac2b741167cf4baac14d9bc9ba19901fdcaa",
  "parents": [
    "87a116e8fe534e7b2ce8f7d7c05793d041cc8336"
  ],
  "author": {
    "name": "Derek Mauro",
    "email": "dmauro@google.com",
    "time": "Thu Nov 12 09:41:00 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Nov 12 09:42:25 2026 -0800"
  },
  "message": "Strip trailing CR from lines read in --flagfile.\n\nOn POSIX platforms, `std::ifstream` in text mode does not translate `\\r\\n` to `\\n`, leaving a trailing `\u0027\\r\u0027` on every line read by `std::getline` in `ArgsList::ReadFromFlagfile`. That trailing `\u0027\\r\u0027` breaks standalone boolean flags (`--bool_flag\\r`), corrupts `std::string` and nested `--flagfile` values, prevents empty-value resets (`--flag\u003d\\r`), bypasses the `--` guard, and fails strict flag parsers that do not strip whitespace.\n\nStrip a single trailing `\u0027\\r\u0027` via `absl::StripSuffix(line, \"\\r\")` before `absl::StripLeadingAsciiWhitespace`, matching Windows text-mode `std::ifstream` behavior while preserving intentional trailing spaces on `std::string` flags.\n\nPiperOrigin-RevId: 1020200864\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "940bf565c459131ada91ea8978ee3477f8ecbe10",
      "old_mode": 33188,
      "old_path": "absl/flags/parse.cc",
      "new_id": "25669f37bf4cdc3d52ab97e6f7bf0c80ac87bfb0",
      "new_mode": 33188,
      "new_path": "absl/flags/parse.cc"
    },
    {
      "type": "modify",
      "old_id": "138cf6e09d18ba5c8356a69378e40cdf57bd1dd1",
      "old_mode": 33188,
      "old_path": "absl/flags/parse_test.cc",
      "new_id": "9687950c89d0340de90d64ac3ba22b21644de4a9",
      "new_mode": 33188,
      "new_path": "absl/flags/parse_test.cc"
    }
  ]
}
