--
Paymon
>From 372f929bbe0ab29f35d515ad13f21b8d851941ef Mon Sep 17 00:00:00 2001
From: Paymon <[email protected]>
Date: Wed, 4 Dec 2024 11:18:20 -0500
Subject: [PATCH] build: take count of detached HEAD
this should broden the coverage of 8920b6a for all cases.
Signed-off-by: Paymon MARANDI <[email protected]>
---
version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/version.sh b/version.sh
index 5dfc61b..669f1b6 100755
--- a/version.sh
+++ b/version.sh
@@ -17,7 +17,7 @@ if test -z "$mb"; then
fi
if test -z "$mb"; then
# still no upstream, so just describe HEAD as-is.
- gver=$(git describe --tags HEAD)
+ gver=$(git describe --always --tags HEAD)
else
# find out whether we have local work, and if so, collapse it into
# a single suffix. otherwise, we'd cause pointless rebuilds during
--
2.47.1
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel