diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-01 16:20:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-01 16:57:20 -0400 |
commit | 0eabe6f79498e3339205aeff2c79ae1e85498ab4 (patch) | |
tree | 5c404112c98d5ac1afce09db892b509153984839 /IkiWiki/Plugin | |
parent | 824ad84e2b490e3aa9107e3a3d244bd8e041d918 (diff) |
git: Added git_wrapper_background_command option. Can be used to eg, make the git wrapper push to github in the background after ikiwiki runs.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/git.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 992c6226b..0f92476c9 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -41,6 +41,7 @@ sub checkconfig () { push @{$config{wrappers}}, { wrapper => $config{git_wrapper}, wrappermode => (defined $config{git_wrappermode} ? $config{git_wrappermode} : "06755"), + wrapper_background_command => $config{git_wrapper_background_command}, }; } @@ -78,6 +79,13 @@ sub getsetup () { safe => 0, # file rebuild => 0, }, + git_wrapper_background_command => { + type => "string", + example => "git push github", + description => "shell command for git_wrapper to run, in the background", + safe => 0, # command + rebuild => 0, + }, git_wrappermode => { type => "string", example => '06755', |