Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Don't load missing ACL files in paranoid update hook
[gitweb.git]
/
contrib
/
hooks
/
update-paranoid
diff --git
a/contrib/hooks/update-paranoid
b/contrib/hooks/update-paranoid
index 6e0d97c89facd69db8b01ebdaf09f3cca5e1a28e..ae94822cd3a0a503b77cd86d37f523f19c13a715 100644
(file)
--- a/
contrib/hooks/update-paranoid
+++ b/
contrib/hooks/update-paranoid
@@
-136,6
+136,7
@@
sub parse_config ($$$$) {
local $ENV{GIT_DIR} = shift;
my $br = shift;
my $fn = shift;
+ return unless git_value('rev-list','--max-count=1',$br,'--',$fn);
info "Loading $br:$fn";
open(I,'-|','git','cat-file','blob',"$br:$fn");
my $section = '';