diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-04 16:33:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-04 16:33:36 -0400 |
commit | f025923d146adc83dd67265b4ae58a7f3e5cb8ab (patch) | |
tree | a6e8de09748b18f0cb4b1cc30c172284248ddbff /IkiWiki | |
parent | 3f3aab3793fb471f8a99ed12df1bbad7abdc3455 (diff) | |
download | ikiwiki-f025923d146adc83dd67265b4ae58a7f3e5cb8ab.tar ikiwiki-f025923d146adc83dd67265b4ae58a7f3e5cb8ab.tar.gz |
fix indentation
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/git.pm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 33ec00d8a..794afb740 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -27,10 +27,9 @@ sub import { hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime); hook(type => "rcs", id => "rcs_getmtime", call => \&rcs_getmtime); hook(type => "rcs", id => "rcs_receive", call => \&rcs_receive); - hook(type => "rcs", id => "rcs_preprevert", call => \&rcs_preprevert); - hook(type => "rcs", id => "rcs_revert", call => \&rcs_revert); - hook(type => "rcs", id => "rcs_showpatch", call => \&rcs_showpatch); + hook(type => "rcs", id => "rcs_preprevert", call => \&rcs_preprevert); hook(type => "rcs", id => "rcs_revert", call => \&rcs_revert); + hook(type => "rcs", id => "rcs_showpatch", call => \&rcs_showpatch); } sub checkconfig () { @@ -867,11 +866,11 @@ sub rcs_revert (@) { } sub rcs_showpatch (@) { - # Show the patch with the given revision id. - my %params = @_; - my $rev = $params{rev}; + # Show the patch with the given revision id. + my %params = @_; + my $rev = $params{rev}; - return join "\n", run_or_die('git', 'show', $rev); + return join "\n", run_or_die('git', 'show', $rev); } 1 |