All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: git@vger.kernel.org
Subject: push not resolving commit-ish?
Date: Thu, 23 May 2013 13:53:10 +0300	[thread overview]
Message-ID: <20130523105310.GA17361@redhat.com> (raw)

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

             reply	other threads:[~2013-05-23 10:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 10:53 Michael S. Tsirkin [this message]
2013-05-23 10:56 ` push not resolving commit-ish? Michael S. Tsirkin
2013-05-23 10:56 ` Felipe Contreras
2013-05-23 18:10   ` Junio C Hamano
2013-05-23 21:05     ` Michael S. Tsirkin
2013-05-23 21:06       ` Junio C Hamano
2013-05-23 21:16     ` Michael S. Tsirkin
2013-05-23 21:21       ` Junio C Hamano
2013-05-23 18:05 ` Junio C Hamano
2013-05-23 21:09   ` Michael S. Tsirkin
2013-05-23 21:19     ` Junio C Hamano
2013-05-23 21:26       ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130523105310.GA17361@redhat.com \
    --to=mst@redhat.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.