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
JSJames Spencer <james.s.spencer@gmail.com>
Date
Jun 2, 2014, 22:10 UTC
Message-ID
<loom.20140602T235730-544@post.gmane.org>
In-Reply-To
<CA+55aFyuj=B4jhc9vPkxHotSgJnRXMj_P_QkHCt-TKXtj8tOFQ@mail.gmail.com>
Linus Torvalds <torvalds <at> linux-foundation.org> writes:
>
> On Mon, Jun 2, 2014 at 2:01 PM, Michael S. Tsirkin <mst <at> redhat.com>
wrote:
> >
> > [mst <at> 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.
I am seeing something similar:

$ git request-pull master origin > /dev/null warn: No match for commit 64ea29197d5e13772b1f7b6c24feaa79cc97d997 found at origin warn: Are you sure you pushed 'HEAD' there?

but I pushed 64ea29197d5e13772b1f7b6c24feaa79cc97d997:

$ git show-ref bug_fix/init_report 64ea29197d5e13772b1f7b6c24feaa79cc97d997 refs/heads/bug_fix/init_report 64ea29197d5e13772b1f7b6c24feaa79cc97d997 refs/remotes/origin/bug_fix/init_report

The warning goes away if I give an explicit end commit.

Should the default value for $remote in the call to $find_matching_ref be $head rather than HEAD (and similarly for the warning message)?

   --James
Previous: Linus TorvaldsNext: Michael S. Tsirkin
Message 5 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.