diff --git a/common/lighthouse_version/src/lib.rs b/common/lighthouse_version/src/lib.rs index 54b28bec75b..3e04b789ca6 100644 --- a/common/lighthouse_version/src/lib.rs +++ b/common/lighthouse_version/src/lib.rs @@ -9,7 +9,13 @@ use target_info::Target; /// /// `Lighthouse/v0.2.0-1419501f2+` pub const VERSION: &str = git_version!( - args = ["--always", "--dirty=+", "--abbrev=7", "--exclude=*"], + args = [ + "--always", + "--dirty=+", + "--abbrev=7", + // NOTE: using --match instead of --exclude for compatibility with old Git + "--match=thiswillnevermatchlol" + ], prefix = "Lighthouse/v1.1.3-", fallback = "unknown" );