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

Re: push not resolving commit-ish?

From
MTMichael S. Tsirkin <mst@redhat.com>
Date
May 23, 2013, 10:56 UTC
Message-ID
<20130523105625.GA17455@redhat.com>
In-Reply-To
<20130523105310.GA17361@redhat.com>
On Thu, May 23, 2013 at 01:53:10PM +0300, Michael S. Tsirkin wrote:
Show 23 quoted lines
> Looks like push can't resolve tags to commits.
> Why is that?
> 
> linux$ git push -f $PWD v3.10-rc2:refs/heads/vhost-next
> error: Trying to write non-commit object
> a8c6d53c4d84b3a5eb182758a9cdceceba4691da to branch refs/heads/vhost-next
> To /scm/linux
>  ! [remote rejected] v3.10-rc2 -> vhost-next (failed to write)
> error: failed to push some refs to '/scm/linux'
> 
> linux$ git log v3.10-rc2|head -5
> commit c7788792a5e7b0d5d7f96d0766b4cb6112d47d75
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Mon May 20 14:37:38 2013 -0700
> 
>     Linux 3.10-rc2
> 
> 
> linux$ $ git push -f $PWD
> c7788792a5e7b0d5d7f96d0766b4cb6112d47d75:refs/heads/vhost-next
> Everything up-to-date
> 
> 
Forgot to say - this is recent git.git master:
1.8.3.rc3.8.g5e49f30
Previous: Michael S. TsirkinNext: Felipe Contreras
Message 2 of 12 in “push not resolving commit-ish?”
  1. Michael S. TsirkinMay 23, 2013
  2. Michael S. TsirkinMay 23, 2013
  3. Felipe ContrerasMay 23, 2013
  4. Junio C HamanoMay 23, 2013
  5. Michael S. TsirkinMay 23, 2013
  6. Junio C HamanoMay 23, 2013
  7. Michael S. TsirkinMay 23, 2013
  8. Junio C HamanoMay 23, 2013
  9. Junio C HamanoMay 23, 2013
  10. Michael S. TsirkinMay 23, 2013
  11. Junio C HamanoMay 23, 2013
  12. Michael S. TsirkinMay 23, 2013

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.