diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 13:40:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 13:41:17 -0400 |
commit | c6d1ae33d224486f347d39005e516f514c613d3c (patch) | |
tree | ae831d4b5a39ef7a3ea384dab61880f2f564373c /IkiWiki/Rcs/git.pm | |
parent | a204f86786d25214fa19f605c26815c068cc4b43 (diff) |
All rcs backends need to implement rcs_remove
(Done for svn, git.)
Diffstat (limited to 'IkiWiki/Rcs/git.pm')
-rw-r--r-- | IkiWiki/Rcs/git.pm | 8 |
1 files changed, 8 insertions, 0 deletions
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. |