chiark / gitweb /
Merge remote-tracking branch 'mariner/master'
[chiark-utils.git] / scripts / git-cache-proxy
index 3e57a4f5530e2971794dd3a82612590421624c8e..647f6b60d3c152dae98a16240f0bf9181dcee86b 100755 (executable)
@@ -30,6 +30,7 @@
 # git-cache-proxy
 # Copyright 2010 Tony Finch
 # Copyright 2013,2014 Ian Jackson
+# Copyright 2017 Citrix
 # 
 # git-cache-proxy is free software; you can redistribute it and/or
 # modify them under the terms of the GNU General Public License as
@@ -360,6 +361,7 @@ sub clonefetch () {
                servinfo "fetch/clone failed: $fetchfail";
            }
        }
+        alarm 0;
 
        if (!$exists) {
            rename $tmpd, $gitd or fail "rename fresh $tmpd to $gitd: $!";