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/