Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
web commit from 217.112.243.2: poll vote
[git.ikiwiki.info.git]
/
IkiWiki
/
Rcs
/
tla.pm
diff --git
a/IkiWiki/Rcs/tla.pm
b/IkiWiki/Rcs/tla.pm
index be5ec0601304d1c66c12f366c40d794975cd47fd..7254eb1a7f5cb6a87b4ea6b3d6aa18e34275c387 100644
(file)
--- a/
IkiWiki/Rcs/tla.pm
+++ b/
IkiWiki/Rcs/tla.pm
@@
-38,10
+38,19
@@
sub rcs_prepedit ($) { #{{{
}
} #}}}
}
} #}}}
-sub rcs_commit ($$$) { #{{{
+sub rcs_commit ($$$
;$$
) { #{{{
my $file=shift;
my $message=shift;
my $rcstoken=shift;
my $file=shift;
my $message=shift;
my $rcstoken=shift;
+ my $user=shift;
+ my $ipaddr=shift;
+
+ if (defined $user) {
+ $message="web commit by $user".(length $message ? ": $message" : "");
+ }
+ elsif (defined $ipaddr) {
+ $message="web commit from $ipaddr".(length $message ? ": $message" : "");
+ }
if (-d "$config{srcdir}/{arch}") {
# Check to see if the page has been changed by someone
if (-d "$config{srcdir}/{arch}") {
# Check to see if the page has been changed by someone