git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Remove usernames from all commit messages, not just when using svmprops

From
EWEric Wong <normalperson@yhbt.net>
Date
Apr 25, 2007, 01:33 UTC
Message-ID
<20070425013221.GC7169@muzzle>
In-Reply-To
<9F361BEA-54A1-479F-9552-1E2170A83DAF@apple.com>
Adam Roben <aroben@apple.com> wrote:
> Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
> Signed-off-by: Adam Roben <aroben@apple.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Show 26 quoted lines
> ---
>  git-svn.perl |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/git-svn.perl b/git-svn.perl
> index efc4c88..077d6b3 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;
>  	}
> -- 
> 1.5.2.rc0.14.g520d-dirty
-- 
Eric Wong
Previous: Adam Roben
Message 2 of 2 in “Remove usernames from all commit messages, not just when using svmprops”
  1. Remove usernames from all commit messages, not just when using svmpropsAdam Roben, Apr 25, 2007
  2. Eric WongApr 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.