chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa641e4
)
git-cache-proxy: use lstat
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 Nov 2013 00:27:51 +0000
(
00:27
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 Nov 2013 00:27:51 +0000
(
00:27
+0000)
scripts/git-cache-proxy
patch
|
blob
|
history
diff --git
a/scripts/git-cache-proxy
b/scripts/git-cache-proxy
index 12a4f52cdff44f3f412b6ce0cc4ca32574609393..450a9f21e6d4fc7c6427da563dc79503087d36d5 100755
(executable)
--- a/
scripts/git-cache-proxy
+++ b/
scripts/git-cache-proxy
@@
-237,7
+237,7
@@
sub clonefetch () {
open LOCK, "+>", $lock or fail "open/create $lock: $!";
flock LOCK, LOCK_EX or fail "lock exclusive $lock: $!";
open LOCK, "+>", $lock or fail "open/create $lock: $!";
flock LOCK, LOCK_EX or fail "lock exclusive $lock: $!";
- my $exists = stat $gitd;
+ my $exists =
l
stat $gitd;
$exists or $!==ENOENT or fail "stat $gitd: $!";
our $fetchfail = '';
$exists or $!==ENOENT or fail "stat $gitd: $!";
our $fetchfail = '';