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

Re: 2.0.0 regression? request pull does not seem to find head

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jun 2, 2014, 21:36 UTC
Message-ID
<CA+55aFyuj=B4jhc9vPkxHotSgJnRXMj_P_QkHCt-TKXtj8tOFQ@mail.gmail.com>
In-Reply-To
<20140602210131.GA17171@redhat.com>
On Mon, Jun 2, 2014 at 2:01 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> [mst@robin linux]$ git request-pull net-next/master  git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git net-next
> warn: No match for commit 2ae76693b8bcabf370b981cd00c36cd41d33fabc found at git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
> warn: Are you sure you pushed 'net-next' there?

git request-pull is clearly correct. There is no "net-next" in that public repository.

It *used* to be that request-pull then magically tried to fix it up for you, which in turn resulted in the guess not being right, like pointing to the wrong branch that just happened to have the same SHA1, or pointing to a branch when it _should_ have pointed to a tag.

Now, if you pushed your local "net-next" branch to another branch name (I can find a branch name called "vhost-next" at that repository, then you can *tell* git that, using the same syntax you must have used for the push.

So something like
  git request-pull net-next/master
git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
net-next:vhost-next

should work so that git doesn't end up having to guess (and potentially guessing wrong).

But it may actually be a simpler driver error, and you wanted to use "vhost-next", and that "net-next" was actually incorrect?

       Linus
Previous: Michael S. TsirkinNext: James Spencer
Message 4 of 6 in “2.0.0 regression? request pull does not seem to find head”
  1. Michael S. TsirkinJun 2, 2014
  2. Junio C HamanoJun 2, 2014
  3. Michael S. TsirkinJun 2, 2014
  4. Linus TorvaldsJun 2, 2014
  5. James SpencerJun 2, 2014
  6. Michael S. TsirkinJun 4, 2014

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.