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

Re: could not verify object error

From
Jeff King <peff@peff.net>
Date
Feb 13, 2015, 09:56 UTC
Message-ID
<20150213095630.GA32009@peff.net>
In-Reply-To
<loom.20150212T132927-657@post.gmane.org>
On Thu, Feb 12, 2015 at 12:32:45PM +0000, Daniel Devlin wrote:
Show 8 quoted lines
> tag_contents = 
> "object f849f9e28c7f36a826d4b451efb16516c0c3acc2\ntype #{type}\ntag #
> {tagname}\ntagger #{username} <#{email}> #{Time.new.to_i} +0000\n\n#{message}"
> [...]
> executecommand = "printf \"#{tag_contents}\" | git mktag"
> [...]
> I have tried to run it on a vm with git 2.0.4 but keep 
> getting char 7 could not verify object error message. 

Do you have object f849f9e28c... in the repository where you are running mktag? If so, is it a commit object, as you are putting in the type field? What does:

  git cat-file -t f849f9e28c7f36a826d4b451efb16516c0c3acc2
show?
-Peff
Previous: Daniel Devlin
Message 2 of 2 in “could not verify object error”
  1. Daniel DevlinFeb 12, 2015
  2. Jeff KingFeb 13, 2015

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.