)]}'
{
  "commit": "3869b4541cca314e3f8aab9b1254ca46f566603a",
  "tree": "94d2f3066837c9b7c36bdfb69696cbd83dd10724",
  "parents": [
    "a46a6012a133c7c0929fdae55b321c2fe65f3c5f"
  ],
  "author": {
    "name": "Taylor Cramer",
    "email": "cramertj@google.com",
    "time": "Sun Nov 08 19:57:29 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 25 14:31:44 2026 -0800"
  },
  "message": "Generalize FormatForComparison for C strings when compared to string-like types.\n\nPreviously, comparing a `const char*` or string literal against an operand printed the literal as a pointer (e.g., `Which is: 0x7f467f8f87bd`) unless the other operand was one of the `std::basic_string` specializations listed explicitly in `GTEST_IMPL_FORMAT_C_STRING_AS_STRING_`. Comparing against `std::string_view`, `absl::string_view`, or a user-defined string reference type therefore printed the C string operand as an address.\n\nReplace the separate pointer/string specializations with a single `if constexpr` check: format `CharType*` as a string whenever `const OtherOperand\u0026` is implicitly convertible to `std::basic_string_view\u003cstd::remove_const_t\u003cCharType\u003e\u003e` and `OtherOperand` is not itself a pointer. When the other operand is string-like, the comparison already treats the character pointer as a NUL-terminated string, so formatting it as a string is equally safe; pointer-vs-pointer comparisons continue to format as addresses.\n\nPiperOrigin-RevId: 1016996484\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1288313b99ff49ca5f068a8f019534daa9fcc43a",
      "old_mode": 33188,
      "old_path": "googletest/include/gtest/gtest-printers.h",
      "new_id": "1155579d24dcc3a56b11843fd50a07bec0df947f",
      "new_mode": 33188,
      "new_path": "googletest/include/gtest/gtest-printers.h"
    },
    {
      "type": "modify",
      "old_id": "7f80b28c1717cde272f56a6bf0ec3e0053cb5421",
      "old_mode": 33188,
      "old_path": "googletest/test/googletest-printers-test.cc",
      "new_id": "624ed61915c9c092895ac0e478b5da3e74689943",
      "new_mode": 33188,
      "new_path": "googletest/test/googletest-printers-test.cc"
    }
  ]
}
