Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/google-java-format
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a2145ce
Choose a base ref
...
head repository: google/google-java-format
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a95a529
Choose a head ref
  • 4 commits
  • 9 files changed
  • 3 contributors

Commits on Jul 30, 2026

  1. Fix an issue with formatting indented list items.

    The previous code used a regular expression to skip over the indentation preceding a list item marker (as in `  - `). However, the CommonMark API has a method for that, `ListItem.getMarkerIndent()`. By using that to determine the "real" start of the list item token, we avoid an issue where the value of that token (`- `) did not correspond to the text at the position we had recorded.
    
    PiperOrigin-RevId: 956195264
    eamonnmcmanus authored and google-java-format Team committed Jul 30, 2026
    Configuration menu
    Copy the full SHA
    7d9649f View commit details
    Browse the repository at this point in the history
  2. Handle blank lines before and within Markdown lists more accurately.

    PiperOrigin-RevId: 956203301
    eamonnmcmanus authored and google-java-format Team committed Jul 30, 2026
    Configuration menu
    Copy the full SHA
    14e9039 View commit details
    Browse the repository at this point in the history
  3. Bump JSpecify to 1.0.1.

    PiperOrigin-RevId: 956293113
    cpovirk authored and google-java-format Team committed Jul 30, 2026
    Configuration menu
    Copy the full SHA
    fce6509 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a95a529 View commit details
    Browse the repository at this point in the history
Loading