-
Notifications
You must be signed in to change notification settings - Fork 445
Closed
Description
Steps to reproduce:
- Clone any repository, such as this one.
- Edit a file with an empty line on it, such as
Cargo.toml
. - Add a space (or tab) to the empty line.
git diff
Git raw diff:
diff --git a/Cargo.toml b/Cargo.toml
index 7c7e71f..7330174 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,7 @@ license = "MIT"
readme = "README.md"
repository = "https://github.com/dandavison/delta"
version = "0.2.0"
-
+
[[bin]]
name = "delta"
path = "src/main.rs"
@@ -36,6 +36,6 @@ default-features = false
features = ["parsing", "assets", "yaml-load", "dump-load", "regex-onig"]
[dependencies.error-chain]
-version = "0.12.2"
+version = "0.12.2"
default-features = false
features = []
Screenshot of Git raw diff:
Screenshot of Delta diff:
Note that, as comparison, trailing whitespace is rendered correctly. I would like a whitespace-only line to look the same.
Environments
- Delta 0.1.1
- macOS Catalina
- Git 2.24.3 (macOS built-in version)
Metadata
Metadata
Assignees
Labels
No labels