diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-22 20:52:34 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-22 20:52:34 -0400 |
commit | 094af3d113f375f7faf2abf283615582a9977a65 (patch) | |
tree | dcd6a3b7f2195be55d2493f1f5a469fd0b4afb4c /IkiWiki.pm | |
parent | 9fc126ada6aafe57609c0741d299056588cffc82 (diff) | |
download | ikiwiki-094af3d113f375f7faf2abf283615582a9977a65.tar ikiwiki-094af3d113f375f7faf2abf283615582a9977a65.tar.gz |
initial support for git repos with untrusted committers
Still need to wire up the calls to check_* , but it's cold out here and my
hands are going numb, so enough for now.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index e0454963d..245eaafba 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -382,6 +382,13 @@ sub getsetup () { #{{{ safe => 0, rebuild => 0, }, + test_receive => { + type => "internal", + default => 0, + description => "running in receive test mode", + safe => 0, + rebuild => 0, + }, getctime => { type => "internal", default => 0, @@ -1575,6 +1582,10 @@ sub rcs_getctime ($) { #{{{ $hooks{rcs}{rcs_getctime}{call}->(@_); } #}}} +sub rcs_test_receive ($) { #{{{ + $hooks{rcs}{rcs_test_receive}{call}->(@_); +} #}}} + sub globlist_to_pagespec ($) { #{{{ my @globlist=split(' ', shift); |