| 1 |
Descriptionscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`1002_newer_git2.patch`#Description.: use newer minor version of crate git2 |
| 2 |
Authorscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`1002_newer_git2.patch`#Author.: Simon Quigley <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Bug-Debianscip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`1002_newer_git2.patch`#Bug-Debian.: https://bugs.debian.org/1143955scip-debian-bts debian-bts . . 1143955: |
| 4 |
Last-Updatescip-debian debian git-delta 0.19.2+ds-2 git-delta/patches/`1002_newer_git2.patch`#Last-Update.: 2026-08-13 |
| 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 |
@@ -39,7 +39,7 @@ |
| 10 |
console = "0.15.0" |
| 11 |
ctrlc = "3.2.5" |
| 12 |
dirs = "6.0.0" |
| 13 |
|
| 14 |
+git2 = { version = "0.21.0", default-features = false, features = [] } |
| 15 |
grep-cli = "0.1.8" |
| 16 |
itertools = "0.10.5" |
| 17 |
lazy_static = "1.4" |
| 18 |
--- a/src/git_config/mod.rsscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`src/git_config/mod.rs`: |
| 19 |
+++ b/src/git_config/mod.rsscip-debian debian git-delta 0.19.2+ds-2 git-delta/upstream/`src/git_config/mod.rs`: |
| 20 |
@@ -138,6 +138,7 @@ |
| 21 |
.find_remote("origin") |
| 22 |
.ok()? |
| 23 |
.url() |
| 24 |
+ .ok() |
| 25 |
.and_then(|url| GitRemoteRepo::from_str(url).ok()) |
| 26 |
} |
| 27 |
|
| 28 |
@@ -153,7 +154,7 @@ |
| 29 |
while let Some(entry) = entries.next() { |
| 30 |
let entry = entry.unwrap(); |
| 31 |
let name = entry.name().unwrap(); |
| 32 |
|
| 33 |
+ f(name, entry.value().ok()); |
| 34 |
} |
| 35 |
} |
| 36 |
} |