[openssh-commits] [openssh] 02/02: Support using git for OpenBSD src tree tests.
    git+noreply at mindrot.org 
    git+noreply at mindrot.org
       
    Sat Nov  1 08:39:58 AEDT 2025
    
    
  
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 7e5d404cf73b6762715eec69b67cce2c4801f9e9
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Sat Nov 1 08:34:15 2025 +1100
    Support using git for OpenBSD src tree tests.
---
 .github/workflows/upstream.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml
index 6cb08fd41..d055627a8 100644
--- a/.github/workflows/upstream.yml
+++ b/.github/workflows/upstream.yml
@@ -42,7 +42,7 @@ jobs:
       run: sshfs_mount
       working-directory: ${{ runner.temp }}
     - name: update source
-      run: vmrun "cd /usr/src && cvs -q up -dPA usr.bin/ssh regress/usr.bin/ssh usr.bin/nc"
+      run: vmrun "cd /usr/src && if [ -d .git ]; then git pull &&  git log -n1 --pretty=format:"%h %an: %s" ; else cvs -q up -dPA usr.bin/ssh regress/usr.bin/ssh usr.bin/nc; fi"
     - name: update netcat
       run: vmrun "cd /usr/src/usr.bin/nc && make clean all && sudo make install"
     - name: make clean
-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
    
    
More information about the openssh-commits
mailing list