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

Re: [PATCH] Allow author names with just two letters.

From
OBOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date
Jul 29, 2009, 14:55 UTC
Message-ID
<20090729145518.GA8743@troll08.nokia.trolltech.de>
In-Reply-To
<20090710200134.GA30032@troll08.nokia.trolltech.de>
moin,

just in case this wasn't clear: the patch below is a request to merge, or at least an rfc. you see, i have a rather bad standing in getting my colleagues to use rebase if git mangles their commits in the process. ;) thanks

greetings
On Fri, Jul 10, 2009 at 10:01:34PM +0200, Oswald Buddenhagen wrote:
Show 24 quoted lines
> Some at Qt Software use aliases which may have only two letters.
> 
> One could argue that just one letter should be permitted as well,
> but that's none of my concerns. :)
> ---
>  builtin-mailinfo.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
> index 1eeeb4d..1adbebd 100644
> --- a/builtin-mailinfo.c
> +++ b/builtin-mailinfo.c
> @@ -35,7 +35,7 @@ static void cleanup_space(struct strbuf *sb);
>  static void get_sane_name(struct strbuf *out, struct strbuf *name, struct strbuf *email)
>  {
>  	struct strbuf *src = name;
> -	if (name->len < 3 || 60 < name->len || strchr(name->buf, '@') ||
> +	if (name->len < 2 || 60 < name->len || strchr(name->buf, '@') ||
>  		strchr(name->buf, '<') || strchr(name->buf, '>'))
>  		src = email;
>  	else if (name == out)
> -- 
> 1.6.3.3.18.g49902.dirty
> 
Previous: Oswald Buddenhagen
Message 2 of 2 in “Allow author names with just two letters.”
  1. Allow author names with just two letters.Oswald Buddenhagen, Jul 10, 2009
  2. Oswald BuddenhagenJul 29, 2009

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.