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

Re: [PATCH, v4] git-tag: introduce --cleanup option

From
Kirill A. Shutemov <kirill@shutemov.name>
Date
Dec 7, 2011, 02:58 UTC
Message-ID
<20111207025837.GA31369@shutemov.name>
In-Reply-To
<7vvcpuk5ex.fsf@alter.siamese.dyndns.org>
On Mon, Dec 05, 2011 at 02:41:26PM -0800, Junio C Hamano wrote:
Show 12 quoted lines
> Jeff King <peff@peff.net> writes:
> 
> > More importantly, though, this seems to break t6300 badly. I haven't
> > looked into why yet, though.
> 
> Probably two issues.
> 
>  - opt.message (and the original 'message') was misnamed and confused the
>    patch author what "if (!message && !buf->len)" meant.
> 
>  - "opt" is a structure meant to be extensible, but is not initialized as
>    a whole, inviting future errors.
Sorry for that and thanks for the investigation.
> It still seems to be broken with respect to the primary thing the patch
> wanted to do (t7400 "git tag -F commentsfile comments-annotated-tag" does
> not seem to produce an expected result), so I'll kick it back to the
> Kirill to look at.
CLEANUP_ALL should always be default regardless of opt.message_given.
I'll send new version.
-- 
 Kirill A. Shutemov
Previous: Junio C HamanoNext: Jeff King
Message 5 of 7 in “git-tag: introduce --cleanup option”
  1. git-tag: introduce --cleanup optionKirill A. Shutemov, Dec 4, 2011
  2. Jeff KingDec 5, 2011
  3. Junio C HamanoDec 5, 2011
  4. Junio C HamanoDec 5, 2011
  5. Kirill A. ShutemovDec 7, 2011
  6. Jeff KingDec 5, 2011
  7. Jeff KingDec 5, 2011

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.