<commit_before>use git_version::git_version;
use target_info::Target;

/// Returns the current version of this build of Lighthouse.
///
/// A plus-sign (`+`) is appended to the git commit if the tree is dirty.
///
/// ## Example
///
/// `Lighthouse/v0.2.0-1419501f2+`
pub const VERSION: &str = git_version!(
    args = ["--always", "--dirty=+", "--abbrev=7", "--exclude=*"],
    prefix = "Lighthouse/v1.1.3-",
    fallback = "unknown"
);<commit_msg>Make lighthouse_version compatible with old Git (#2223)<commit_after>use git_version::git_version;
use target_info::Target;

/// Returns the current version of this build of Lighthouse.
///
/// A plus-sign (`+`) is appended to the git commit if the tree is dirty.
///
/// ## Example
///
/// `Lighthouse/v0.2.0-1419501f2+`
pub const VERSION: &str = git_version!(
    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"
);
{'fraction_non_alphanumeric': 0.18072289156626506, 'fraction_numerical': 0.03151065801668211, 'mean_word_length': 2.7630662020905925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7642194', 'n_tokens_mistral': 378, 'n_tokens_neox': 352, 'n_words': 101}