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

Re: Clarifying "invalid tag signature file" error message from git filter-branch (and others)

From
James Youngman <jay@gnu.org>
Date
Dec 11, 2008, 22:34 UTC
Message-ID
<c5df85930812111434m879f1faq80c64286714c3a1f@mail.gmail.com>
In-Reply-To
<P7E-5meNX4tXFurN9mnRguFHdJG1jaZYTn6WxFFpECSJ68KyYT3wqQ@cipher.nrlssc.navy.mil>
On Thu, Dec 11, 2008 at 9:06 PM, Brandon Casey <casey@nrlssc.navy.mil> wrote:
Show 14 quoted lines
> James Youngman wrote:
>> What do the errors "error: char88: malformed tagger field" and "fatal:
>> invalid tag signature file" and "Could not create new tag object for
>> FINDUTILS-4_1-10" signify in the session below?
>
> It means the tagger field in the tag does not follow the correct form.
> Specifically the testing in git-mktag (called by filter-branch) does:
>
>         * Check for correct form for name and email
>         * i.e. " <" followed by "> " on _this_ line
>         * No angle brackets within the name or email address fields.
>         * No spaces within the email address field.
>
> What does 'git cat-file tag FINDUTILS-4_1-10' show you?

Before conversion: $ git cat-file tag FINDUTILS-4_1-10 object ce25eb352de8dc53a9a7805ba9efc1c9215d28c2 type commit tag FINDUTILS-4_1-10 tagger Kevin Dalley

The conversion:

After conversion: $ git cat-file tag FINDUTILS-4_1-10 object ce25eb352de8dc53a9a7805ba9efc1c9215d28c2 type commit tag FINDUTILS-4_1-10 tagger Kevin Dalley

This is in the repo at http://git.savannah.gnu.org/gitweb/?p=findutils.git;a=commit;h=ce25eb352de8dc53a9a7805ba9efc1c9215d28c2

Show 12 quoted lines
>> Are any of those errors correctable (I can re-run the tree rewrite
>> script as many times as needed, I'm just using it on a test repository
>> for now).
>
> If there are only a few, then you can manually retag with a corrected
> tagger field, and then run your script.
>
> Of course, depending on the output of the cat-file call above, the
> testing in git-mktag may need to be relaxed.
>
> -brandon
>
Previous: Brandon CaseyNext: Brandon Casey
Message 3 of 10 in “Clarifying "invalid tag signature file" error message from git filter-branch (and others)”
  1. James YoungmanDec 11, 2008
  2. Brandon CaseyDec 11, 2008
  3. James YoungmanDec 11, 2008
  4. Brandon CaseyDec 11, 2008
  5. James YoungmanDec 11, 2008
  6. Jim MeyeringDec 12, 2008
  7. James YoungmanDec 12, 2008
  8. Brandon CaseyDec 12, 2008
  9. Jakub NarebskiDec 12, 2008
  10. Brandon CaseyDec 12, 2008

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.