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

Re: [PATCH, nitpickingly final version] git-branch, git-checkout: autosetup for remote branch tracking

From
Junio C Hamano <junkio@cox.net>
Date
Mar 8, 2007, 10:22 UTC
Message-ID
<7vabyo9gr6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<45EFDE4B.3010408@lu.unisi.ch>
Paolo Bonzini <paolo.bonzini@lu.unisi.ch> writes:
> 	This fixes all the nits you pointed out. :-D
> 	Now, this was an experience to make...
Thanks.

Will apply after reviewing once more tomorrow, with fix-ups locally if needed. No need to resend.

> +
> +	colon = strchr(value, ':');
> +        if (!colon)
s/^\040{8}/\011/;
Show 15 quoted lines
> diff --git a/trace.c b/trace.c
> index 27fef86..27b2e85 100644
> --- a/trace.c
> +++ b/trace.c
> @@ -41,13 +41,15 @@ static in...
> +int nfasprintf(char **str, const char *fmt, ...)
>  {
> +	int rc;
> +	va_list args;
> +
> +	va_start(args, fmt);
> +	rc = nfvasprintf(str, fmt, args);
> +	va_end(args);
> +	return args;
>  }
s/return args/return rc/;
Previous: Paolo BonziniNext: Junio C Hamano
Message 4 of 7 in “git-branch, git-checkout: autosetup for remote branch tracking”
  1. git-branch, git-checkout: autosetup for remote branch trackingPaolo Bonzini, Mar 8, 2007
  2. Junio C HamanoMar 8, 2007
  3. git-branch, git-checkout: autosetup for remote branch trackingPaolo Bonzini, Mar 8, 2007
  4. Junio C HamanoMar 8, 2007
  5. Junio C HamanoMar 8, 2007
  6. git-branch: rename nor delete should not work when HEAD is detached.Junio C Hamano, Mar 8, 2007
  7. Junio C HamanoMar 10, 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.