nixpkgs/pkgs/by-name/ox/oxide-rs/rm-commit-hash-in-version-output.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
613 B
Diff
Raw Permalink Normal View History

diff --git a/cli/src/cmd_version.rs b/cli/src/cmd_version.rs
index 72153fb..1add398 100644
--- a/cli/src/cmd_version.rs
+++ b/cli/src/cmd_version.rs
@@ -30,16 +30,6 @@ impl RunnableCmd for CmdVersion {
println_nopipe!("Oxide CLI {}", cli_version);
- println_nopipe!(
- "Built from commit: {} {}",
- built_info::GIT_COMMIT_HASH.unwrap(),
- if matches!(built_info::GIT_DIRTY, Some(true)) {
- "(dirty)"
- } else {
- ""
- }
- );
-
println_nopipe!("Oxide API: {}", api_version);
Ok(())