From: Don Armstrong Date: Sat, 8 Feb 2014 00:56:19 +0000 (-0800) Subject: ignore git files X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7f5ebb78dfe45ece2ce9f461aebbdf067381c426;p=bin.git ignore git files --- diff --git a/bibtex_to_paper b/bibtex_to_paper index 181f9cf..121a855 100755 --- a/bibtex_to_paper +++ b/bibtex_to_paper @@ -173,6 +173,10 @@ sub load_papers_into_database { my @dirs = ref($dir)?@{$dir}:$dir; my $actually_load_it = sub { + if (/\.git/) { + $File::Find::prune = 1; + return; + } return unless /\.pdf$/; my $xoj = 0; if (-e "${_}.xoj") {