From a34fbcbc7347ab317117443a4e45ac93475f11d5 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 6 Jan 2021 09:31:56 +0100 Subject: [PATCH] Revert "ignore comments from git status to no confuse the version number parser with branch information" Makes problem some comment lines from git status which contain useful information. This reverts commit 2d448c56afe9a738722966cd7a1e8f850352dcf1. --- App/tools/getVersion.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/App/tools/getVersion.pl b/App/tools/getVersion.pl index da75c18..1c54c69 100755 --- a/App/tools/getVersion.pl +++ b/App/tools/getVersion.pl @@ -184,8 +184,6 @@ sub parse_git_output { if ($line =~ /fatal: Not a git repository/) { return; } - elsif ($line =~ /^#/) { - } elsif ($line =~ /^\?\? (.*)/) { say STDERR "$1: not in git => version test"; $version = "test";