From: Adam Roben Date: Wed, 25 Apr 2007 01:02:07 +0000 (-0700) Subject: Remove usernames from all commit messages, not just when using svmprops X-Git-Tag: v1.5.1.3~38 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ce11873921e19be44082660882e07b205082643b;p=git.git Remove usernames from all commit messages, not just when using svmprops Signed-off-by: Sam Vilain Signed-off-by: Adam Roben Acked-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index efc4c88a4..077d6b3a1 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1866,11 +1866,14 @@ sub make_log_entry { } elsif ($self->use_svnsync_props) { my $full_url = $self->svnsync->{url}; $full_url .= "/$self->{path}" if length $self->{path}; + remove_username($full_url); my $uuid = $self->svnsync->{uuid}; $log_entry{metadata} = "$full_url\@$rev $uuid"; $email ||= "$author\@$uuid" } else { - $log_entry{metadata} = $self->metadata_url. "\@$rev " . + my $url = $self->metadata_url; + remove_username($url); + $log_entry{metadata} = "$url\@$rev " . $self->ra->get_uuid; $email ||= "$author\@" . $self->ra->get_uuid; }