X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;fp=dgit;h=a68bf19c943502d3f039440caa29368ab2a388d9;hb=a68894875ce0d11261882f62b2aa28a6e3eed673;hp=51975965deb49aad24c205848e0ca5170983185b;hpb=643fe03fd85c430ca77c9a3a59a4d9e6f99e9f7c;p=dgit.git diff --git a/dgit b/dgit index 51975965..a68bf19c 100755 --- a/dgit +++ b/dgit @@ -6349,7 +6349,10 @@ END foreach my $fi (@dfi) { my $f = $fi->{Filename}; my $here = "../$f"; - next if lstat $here; + if (lstat $here) { + next if stat $here; + fail "lstat $here works but stat gives $! !"; + } fail "stat $here: $!" unless $! == ENOENT; my $there = $dscfn; if ($dscfn =~ m#^(?:\./+)?\.\./+#) {