From 6a0b7705c64a1e8b7ef01e167d680389ea569397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Tue, 4 Jan 2022 21:21:00 +0100 Subject: [PATCH] chore: remove double v's in --version --- btrfs-list | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-list b/btrfs-list index c89997a..21effa7 100755 --- a/btrfs-list +++ b/btrfs-list @@ -355,6 +355,7 @@ if ($opt_version) { my $cmd = run_cmd(silent_stderr => 1, cmd => [qw{ git -C }, $dir, qw{ describe --tags --dirty }]); if ($cmd->{status} == 0 && $cmd->{stdout}) { $ver = $cmd->{stdout}[0]; + $ver =~ s/^v//; } } ## end if (-d "$dir/.git")