From 5741f4d45dbe7d34cd0e4e5430be2100b85e9655 Mon Sep 17 00:00:00 2001 From: Austin Best Date: Sun, 29 Sep 2024 12:14:59 -0400 Subject: [PATCH] Fix gitVersion sending the branch on source installs when full is not true --- root/app/www/public/functions/git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/www/public/functions/git.php b/root/app/www/public/functions/git.php index 43b56d1..388be6f 100644 --- a/root/app/www/public/functions/git.php +++ b/root/app/www/public/functions/git.php @@ -37,7 +37,7 @@ function gitMessage() function gitVersion($full = false) { if (!defined('DOCKWATCH_COMMITS') && !defined('DOCKWATCH_BRANCH')) { - return ($full ? 'v' : '') . '0.0.0 - ' . gitBranch(); + return ($full ? 'v' : '') . '0.0.0' . ($full ? ' - ' . gitBranch() : ''); } if ($full) {