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

Re: git merging

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 20, 2005, 16:06 UTC
Message-ID
<Pine.LNX.4.21.0506201156360.30848-100000@iabervon.org>
In-Reply-To
<Pine.LNX.4.58.0506200844420.2268@ppc970.osdl.org>
On Mon, 20 Jun 2005, Linus Torvalds wrote:
Show 5 quoted lines
> Daniel: I think git-ssh-pull has problems with any refs that aren't
> commits. I also noticed earlier that I can't use git-ssh-push -w to write
> a tag - it is apparently unhappy because it would write a "tag" object,
> and it only wants to write references to "commit" objects. The same thing
> might be true about the special "tag to a tree" object?

You're correct; it's actually that pull.c has never gotten extended to look at the object you specify, determine what it is, and then behave appropriately. Basically, it needs a "process_unknown()" which does the appropriate thing, and pull() needs to call that instead of process_commit(). It should also get a "process_tag()" which handles tags (calling process_unknown() on their objects). I should be able to do it Tuesday evening or Wednesday night, if nobody else gets it before then.

	-Daniel
*This .sig left intentionally blank*
Previous: Linus TorvaldsNext: Matthias Urlichs
Message 11 of 16 in “Re: git merging”
  1. Linus TorvaldsJun 17, 2005
  2. Jens AxboeJun 17, 2005
  3. Jeff GarzikJun 17, 2005
  4. Linus TorvaldsJun 17, 2005
  5. Jeff GarzikJun 17, 2005
  6. Linus TorvaldsJun 18, 2005
  7. Jens AxboeJun 20, 2005
  8. Matthias UrlichsJun 20, 2005
  9. Jens AxboeJun 20, 2005
  10. Linus TorvaldsJun 20, 2005
  11. Daniel BarkalowJun 20, 2005
  12. Matthias UrlichsJun 20, 2005
  13. Jens AxboeJun 20, 2005
  14. Linus TorvaldsJun 20, 2005
  15. Jens AxboeJun 21, 2005
  16. Linus TorvaldsJun 21, 2005

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.