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

Re: [PATCH v3] Add push --set-upstream

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 16, 2010, 16:47 UTC
Message-ID
<7v7hridmjc.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100116233043.26a5636d.rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 8 quoted lines
> +		switch (ref->status) {
> +		case REF_STATUS_NONE:
> +		case REF_STATUS_UPTODATE:
> +		case REF_STATUS_OK:
> +			; /* no-op */
> +		default:
> 			continue;
> +		}

Could somebody document what these values (and what "struct ref" has in general) mean in the transport API documentation?

Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 10 of 11 in “Add push --set-upstream”
  1. Add push --set-upstreamIlari Liusvaara, Jan 16, 2010
  2. Tay Ray ChuanJan 16, 2010
  3. Ilari LiusvaaraJan 16, 2010
  4. Tay Ray ChuanJan 16, 2010
  5. Ilari LiusvaaraJan 16, 2010
  6. Tay Ray ChuanJan 16, 2010
  7. Tay Ray ChuanJan 16, 2010
  8. Jeff KingJan 16, 2010
  9. Tay Ray ChuanJan 16, 2010
  10. Junio C HamanoJan 16, 2010
  11. Tay Ray ChuanJan 16, 2010

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.