From 7f5ebb78dfe45ece2ce9f461aebbdf067381c426 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 7 Feb 2014 16:56:19 -0800 Subject: [PATCH] ignore git files --- bibtex_to_paper | 4 ++++ 1 file changed, 4 insertions(+) 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") { -- 2.39.5