From c6d1ae33d224486f347d39005e516f514c613d3c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Jul 2008 13:40:06 -0400 Subject: All rcs backends need to implement rcs_remove (Done for svn, git.) --- IkiWiki/Rcs/git.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'IkiWiki/Rcs/git.pm') diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index 7fb612a39..b02b286bd 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -348,6 +348,14 @@ sub rcs_add ($) { # {{{ run_or_cry('git', 'add', $file); } #}}} +sub rcs_remove ($) { # {{{ + # Remove file from archive. + + my ($file) = @_; + + run_or_cry('git', 'rm', '-f', $file); +} #}}} + sub rcs_recentchanges ($) { #{{{ # List of recent changes. -- cgit v1.2.3