Files
sourcegit/src/Commands
Massimo 81820e7034 refactor: improve diff handling for EOL changes and enhance text diff… (#1177)
* refactor: improve diff handling for EOL changes and enhance text diff display

- Updated `Diff.cs` to streamline whitespace handling in diff arguments.
- Enhanced `DiffContext.cs` to check for EOL changes when old and new hashes differ, creating a text diff if necessary.
- Added support for showing end-of-line symbols in `TextDiffView.axaml.cs` options.

* localization: update translations to include EOF handling in ignore whitespace messages

- Modified the ignore whitespace text in multiple language files to specify that EOF changes are also ignored.
- Ensured consistency across all localization files for the patch application feature.

* revert: Typo in DiffResult comment

* revert: update diff arguments to ignore CR at EOL in whitespace handling (like before changes)

* revert: update translations to remove EOF references in Text.Apply.IgnoreWS and fixed typo in Text.Diff.IgnoreWhitespace (EOF => EOL)

---------

Co-authored-by: mpagani <massimo.pagani@unitec-group.com>
2025-04-14 15:18:45 +08:00
..
2025-03-14 09:36:34 +08:00
2024-10-14 15:20:02 +08:00
2025-03-14 10:54:09 +08:00
2024-10-23 15:28:09 +08:00
2025-03-17 20:35:31 +08:00
2024-11-22 18:40:59 +08:00
2024-07-15 00:30:31 +08:00
2024-06-17 18:25:57 +08:00
2025-03-04 16:04:19 +08:00
2025-03-17 20:35:31 +08:00
2024-12-09 21:12:58 +08:00
2025-04-11 10:02:33 +08:00
2025-03-14 09:36:34 +08:00
2025-03-18 12:15:00 +08:00
2025-03-17 20:35:31 +08:00
2024-07-09 12:20:52 +08:00
2024-11-13 10:04:28 +08:00
2024-08-01 10:02:09 +08:00
2025-04-07 21:20:59 +08:00
2024-07-26 18:49:07 +08:00
2025-03-14 09:36:34 +08:00
2025-03-17 20:35:31 +08:00