On Wed, Dec 04, 2024 at 10:50:43AM -0500, Paymon wrote:
+++ b/version.sh
@@ -22,7 +22,7 @@ else
        # find out whether we have local work, and if so, collapse it into
        # a single suffix. otherwise, we'd cause pointless rebuilds during
        # development.
-       gver=$(git describe --tags $mb)
+       gver=$(git describe --always --tags $mb)
        lcl=$(git rev-list -n 1 $mb..HEAD)
        if test -n "$lcl"; then
                gver="$gver-plus"



it turns out that this doesn't cover the gentoo case. $mb is always going to
come up empty! i should have tested... i will submit a revised version.

interesting.
i originally thought that the other branch should be covered, but then i tested it with a local shallow clone, and the merge base was always the commit itself.
what's the difference?



_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to