| 1 |
Descriptionscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`2003_avoid_terminal-colorsaurus.patch`#Description.: avoid not-in-Debian crate terminal-colorsaurus |
| 2 |
Authorscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`2003_avoid_terminal-colorsaurus.patch`#Author.: Jonas Smedegaard <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`2003_avoid_terminal-colorsaurus.patch`#Forwarded.: not-needed |
| 4 |
Last-Updatescip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`2003_avoid_terminal-colorsaurus.patch`#Last-Update.: 2024-10-04 |
| 5 |
--- |
| 6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 |
--- a/Cargo.tomlscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`Cargo.toml`: |
| 8 |
+++ b/Cargo.tomlscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`Cargo.toml`: |
| 9 |
@@ -53,7 +53,6 @@ |
| 10 |
syntect = "5.0.0" |
| 11 |
# sysinfo: no default features to disable the use of threads |
| 12 |
sysinfo = { version = "0.39.3", default-features = false, features = ["system"] } |
| 13 |
|
| 14 |
unicode-segmentation = "1.10.1" |
| 15 |
# 0.2.0 (and 0.1.13) treats \n as width 1. Lines processed by delta have, lose, |
| 16 |
# and re-gain \n in various stages, which complicates upgrading. |
| 17 |
--- a/src/options/theme.rsscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`src/options/theme.rs`: |
| 18 |
+++ b/src/options/theme.rsscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`src/options/theme.rs`: |
| 19 |
@@ -17,8 +17,6 @@ |
| 20 |
|
| 21 |
use bat; |
| 22 |
use bat::assets::HighlightingAssets; |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
use crate::cli::{self, DetectDarkLight}; |
| 27 |
use crate::color::{ColorMode, ColorMode::*}; |
| 28 |
@@ -101,23 +99,6 @@ |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
fn detect_color_mode() -> Option<ColorMode> { |
| 50 |
None |
| 51 |
} |