Signed-off-by: Brandon Casey <casey@xxxxxxxxxxxxxxx> --- Sometimes the repository to link to is not under your control. If it contains files or unreadable directories, git-relink will die without this patch. -brandon git-relink.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-relink.perl b/git-relink.perl index f6b4f6a..391b12d 100755 --- a/git-relink.perl +++ b/git-relink.perl @@ -69,7 +69,7 @@ sub do_scan_directory($$$) { my $dfulldir = sprintf("%sobjects/%s/",$dstdir,$subdir); opendir(S,$sfulldir) - or die "Failed to opendir $sfulldir: $!"; + or (warn "Failed to opendir $sfulldir: $!" and return); foreach my $file (grep(!/\.{1,2}$/, readdir(S))) { my $sfilename = $sfulldir . $file; -- 1.5.4.rc2.84.gf85fd-dirty - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html