[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sun Oct 2 18:45:11 UTC 2022


The branch, master has been updated
       via  32963514 Fix validation of "preN" git tags for git-version.h.
      from  0088a85a Mention smart-make in a comment.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 329635144238974129454de51161c1c0ba27a60a
Author: Wayne Davison <wayne at opencoder.net>
Date:   Sun Oct 2 11:43:46 2022 -0700

    Fix validation of "preN" git tags for git-version.h.

-----------------------------------------------------------------------

Summary of changes:
 mkgitver | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/mkgitver b/mkgitver
index 50380c87..75c9fe1e 100755
--- a/mkgitver
+++ b/mkgitver
@@ -7,7 +7,7 @@ if [ ! -f git-version.h ]; then
 fi
 
 if test -d "$srcdir/.git" || test -f "$srcdir/.git"; then
-    gitver=`git describe --abbrev=8 2>/dev/null | sed -n '/^v3\.[0-9][0-9]*\.[0-9][0-9]*\(-\|$\)/p'`
+    gitver=`git describe --abbrev=8 2>/dev/null | sed -n '/^v3\.[0-9][0-9]*\.[0-9][0-9]*\(pre[0-9]*\)*\(-\|$\)/p'`
     if [ -n "$gitver" ]; then
 	echo "#define RSYNC_GITVER \"$gitver\"" >git-version.h.new
 	if ! diff git-version.h.new git-version.h >/dev/null; then


-- 
The rsync repository.



More information about the rsync-cvs mailing list