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

Re: [PATCH] remote add: add a --no-tags (-n) option

From
Samuel Tardieu <sam@rfc1149.net>
Date
Apr 19, 2010, 16:19 UTC
Message-ID
<2010-04-19-18-19-15+trackit+sam@rfc1149.net>
In-Reply-To
<4BCC8073.80109@drmicha.warpmail.net>
>>>>> "Michael" == Michael J Gruber <git@drmicha.warpmail.net> writes:
Michael> Samuel Tardieu venit, vidit, dixit 19.04.2010 15:50:
>> Add a '--no-tags' option to 'git remote add' which adds a
>> 'remote.REMOTE.tagopt = --no-tags' to the configuration file.
>> 
>> 'git add -f -n REMOTE' will create a new remote and fetch from it
Michael> I guess you mean 'git remote add' here.
Yes, indeed.
Michael> Is this buf freed again?

Absolutely, there is a "strbuf_release(&buf)" a few lines down (the buffer may be reused in the meantime).

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/
Previous: Michael J GruberNext: Junio C Hamano
Message 3 of 7 in “remote add: add a --no-tags (-n) option”
  1. remote add: add a --no-tags (-n) optionSamuel Tardieu, Apr 19, 2010
  2. Michael J GruberApr 19, 2010
  3. Samuel TardieuApr 19, 2010
  4. Junio C HamanoApr 19, 2010
  5. Samuel TardieuApr 19, 2010
  6. Junio C HamanoApr 19, 2010
  7. Samuel TardieuApr 19, 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.