All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: git@vger.kernel.org
Subject: remote to push to local branch: hung up unexpectedly
Date: Wed, 13 Jan 2010 15:08:43 +0200	[thread overview]
Message-ID: <20100113130843.GA13545@redhat.com> (raw)

I have this in .config:

[remote "anthony"]
        url = .
        push = +refs/heads/pci:refs/heads/for_anthony

The point is to save state when it's stable and safe for outside use.

I hoped to make this shortcut for:
git push  . +refs/heads/pci:refs/heads/for_anthony

But this does:

Total 0 (delta 0), reused 0 (delta 0)
To .
 * [new branch]      pci -> for_anthony
fatal: The remote end hung up unexpectedly

So the command works but seems to give an error at the end.
Same effect with url = file://.
with url = /scm/qemu   (this is repo path)
and with url = file:///scm/qemu

reproduced with 1.6.6.144 and with 1.6.2.5

-- 
MST

             reply	other threads:[~2010-01-13 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 13:08 Michael S. Tsirkin [this message]
2010-01-13 14:15 ` remote to push to local branch: hung up unexpectedly Tay Ray Chuan
2010-01-13 14:28   ` Michael S. Tsirkin
2010-01-13 14:49     ` Tay Ray Chuan
2010-01-13 15:12       ` 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=20100113130843.GA13545@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.