[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][deploy] Better check if work needs to be done



Title: GitLab

Joerg Jaspert pushed to branch deploy at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • config/deploy/deploy.functions
    ... ... @@ -2,7 +2,7 @@
    2 2
     
    
    3 3
     function fetch_updates() {
    
    4 4
         cd ${masterdir}/
    
    5
    -    local beforefetch=$(git rev-parse origin/deploy)
    
    5
    +    local beforefetch=$(git rev-parse HEAD)
    
    6 6
         git fetch origin
    
    7 7
         local afterfetch=$(git rev-parse origin/deploy)
    
    8 8
         if [[ ${beforefetch} == ${afterfetch} ]]; then
    


  • Reply to: