[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Mon Aug 3 17:26:10 UTC 2020


The branch, master has been updated
       via  16b76706 A couple more mkgitver tweaks
      from  72b2a81f Use --abbrev=8 instead of --tags.

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


- Log -----------------------------------------------------------------
commit 16b7670614daad3293047ac0568621e4a2f493f9
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Aug 3 10:23:43 2020 -0700

    A couple more mkgitver tweaks
    
    - Support git worktree checkouts (has non-dir .git)
    - Use --always for someone who may be missing a tag.

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

Summary of changes:
 mkgitver | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/mkgitver b/mkgitver
index 113cb64a..309beda7 100755
--- a/mkgitver
+++ b/mkgitver
@@ -2,8 +2,8 @@
 
 srcdir=`dirname $0`
 
-if test -d "$srcdir/.git"; then
-    gitver=\"`git describe --abbrev=8`\" || exit 1
+if test -e "$srcdir/.git"; then
+    gitver=\"`git describe --abbrev=8 --always`\" || exit 1
 else
     gitver=RSYNC_VERSION
 fi


-- 
The rsync repository.



More information about the rsync-cvs mailing list