summaryrefslogtreecommitdiff
path: root/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
diff options
context:
space:
mode:
authorArmas Spann <zappel@simple-co.de>2025-07-28 22:14:04 +0200
committerMaciej Barć <xgqt@gentoo.org>2025-07-29 00:45:58 +0200
commit0e89e7e1d633fa1ea02f19c59b1900419751e5ff (patch)
treeca94a737e6e1b7b032b9cf33ff79666a8b11a6bf /dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
parent9ca5d1404f80a4fc857aee8225957740257aa1fc (diff)
downloadgentoo-0e89e7e1d633fa1ea02f19c59b1900419751e5ff.tar.gz
gentoo-0e89e7e1d633fa1ea02f19c59b1900419751e5ff.tar.bz2
gentoo-0e89e7e1d633fa1ea02f19c59b1900419751e5ff.zip
dev-vcs/git-cliff: add 2.10.0
This update includes, in addition to the version bump, a slight change to the LICENSE(s) due to updated dependencies. The patches were also reworked, with indentation changed to spaces. Signed-off-by: Armas Spann <zappel@simple-co.de> Part-of: https://github.com/gentoo/gentoo/pull/43219 Closes: https://github.com/gentoo/gentoo/pull/43219 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch')
-rw-r--r--dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch b/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
new file mode 100644
index 000000000000..fcd980a1423b
--- /dev/null
+++ b/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
@@ -0,0 +1,11 @@
+--- a/git-cliff-core/src/command.rs 2025-07-28 22:01:16.272316366 +0200
++++ b/git-cliff-core/src/command.rs 2025-07-28 22:01:42.532450325 +0200
+@@ -72,7 +72,7 @@
+ run("rev", Some(env!("CARGO_PKG_NAME").to_string()), vec![])?.trim()
+ );
+ assert_eq!("testing", run("echo 'testing'", None, vec![])?.trim());
+- assert!(run("some_command", None, vec![]).is_err());
++ assert!(run("false", None, vec![]).is_err());
+ Ok(())
+ }
+ }