чување 9713a3b2c41abc8fc13116419d25a4142578b5be
родитељ c34c17b08da653e55bbbea841005de566b2f8852
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Wed, 19 Jun 2024 13:56:39 +0200
lib/makeversion: Fix check when deciding whether to add commit hash to
a version string (substring of length 7 was compared to a substring of
length 9)
Diffstat:
измењених датотека: 1, додавања: 1(+), брисања: 1(-)
diff --git a/lib/makeversion b/lib/makeversion
@@ -10,7 +10,7 @@ if [ -d .got ] && command -v got >/dev/null 2>&1; then
/^object: commit/ {
if (!lasttagcom)
{
- lasttagcom = substr($3,1,9)
+ lasttagcom = substr($3,1,7)
}
next
}