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

Re: [GIT PULL] KVM changes for Linux 5.2-rc2

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
May 26, 2019, 20:49 UTC
Message-ID
<CAHk-=wgzKzAwS=_ySikL1f=Gr62YXL_WXGh82wZKMOvzJ9+2VA@mail.gmail.com>
In-Reply-To
<2d55fd2a-afbf-1b7c-ca82-8bffaa18e0d0@redhat.com>
On Sun, May 26, 2019 at 10:53 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The interesting thing is that not only git will treat lightweight tags
> like, well, tags:

Yeah, that's very much by design - lightweight tags are very comvenient for local temporary stuff where you don't want signing etc (think automated test infrastructure, or just local reminders).

> In addition, because I _locally_ had a tag object that
> pointed to the same commit and had the same name, git-request-pull
> included my local tag's message in its output!  I wonder if this could
> be considered a bug.

Yeah, I think git request-pull should at least *warn* about the tag not being the same object locally as in the remote you're asking me to pull.

Are you sure you didn't get a warning, and just missed it? But adding Junio and the Git list just as a possible heads-up for this in case git request-pull really only compares the object the tag points to, rather than the SHA1 of the tag itself.

             Linus
Next: Ævar Arnfjörð Bjarmason
Message 1 of 8 in “Re: [GIT PULL] KVM changes for Linux 5.2-rc2”
  1. Linus TorvaldsMay 26, 2019
  2. refs: tone down the dwimmery in refname_match() for {heads,tags,remotes}/*Ævar Arnfjörð Bjarmason, May 26, 2019
  3. Paolo BonziniMay 27, 2019
  4. Ævar Arnfjörð BjarmasonMay 27, 2019
  5. Junio C HamanoMay 27, 2019
  6. Paolo BonziniMay 27, 2019
  7. push: make "HEAD:tags/my-tag" consistently push to a branchÆvar Arnfjörð Bjarmason, Jun 21, 2019
  8. Junio C HamanoJun 21, 2019

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.