projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All rcs backends need to implement rcs_remove
[ikiwiki.git]
/
IkiWiki
/
Rcs
/
git.pm
diff --git
a/IkiWiki/Rcs/git.pm
b/IkiWiki/Rcs/git.pm
index 7fb612a39bdc56c4b7931a48ab9f8a8db76d55ac..b02b286bdc9dc3027fa0daf65b294ece518912e5 100644
(file)
--- 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.