Skip to content

git: Show pure white space changes in word diffs#45090

Merged
Anthony-Eid merged 2 commits intomainfrom
show-white-space-on-word-diffs
Dec 17, 2025
Merged

git: Show pure white space changes in word diffs#45090
Anthony-Eid merged 2 commits intomainfrom
show-white-space-on-word-diffs

Conversation

@Anthony-Eid
Copy link
Contributor

Closes #44624

Before this change, white space would be trimmed from word diff ranges. Users found this behavior confusing, so we're changing it to be more inline with how GitHub treats whitespace in their word diffs.

Release Notes:

  • git: Word diffs won't filter out pure whitespace diffs now

Before this change white space would be trimed from word diff ranges.
Users found this behavior confusing so we're changing it to be more
inline with how Github treats whitespace in their word diffs.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 17, 2025
@Anthony-Eid Anthony-Eid enabled auto-merge (squash) December 17, 2025 10:29
@Anthony-Eid Anthony-Eid merged commit 010b871 into main Dec 17, 2025
23 checks passed
@Anthony-Eid Anthony-Eid deleted the show-white-space-on-word-diffs branch December 17, 2025 10:52
HactarCE pushed a commit that referenced this pull request Dec 17, 2025
Closes #44624

Before this change, white space would be trimmed from word diff ranges.
Users found this behavior confusing, so we're changing it to be more
inline with how GitHub treats whitespace in their word diffs.

Release Notes:

- git: Word diffs won't filter out pure whitespace diffs now
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
Closes zed-industries#44624

Before this change, white space would be trimmed from word diff ranges.
Users found this behavior confusing, so we're changing it to be more
inline with how GitHub treats whitespace in their word diffs.

Release Notes:

- git: Word diffs won't filter out pure whitespace diffs now
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
Closes zed-industries#44624

Before this change, white space would be trimmed from word diff ranges.
Users found this behavior confusing, so we're changing it to be more
inline with how GitHub treats whitespace in their word diffs.

Release Notes:

- git: Word diffs won't filter out pure whitespace diffs now
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
Closes zed-industries#44624

Before this change, white space would be trimmed from word diff ranges.
Users found this behavior confusing, so we're changing it to be more
inline with how GitHub treats whitespace in their word diffs.

Release Notes:

- git: Word diffs won't filter out pure whitespace diffs now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New word diff highlights do not indicate altered whitespace.

1 participant