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

Re: git-push [--all] and tags

From
MKmartin f krafft <madduck@madduck.net>
Date
Oct 7, 2007, 09:36 UTC
Message-ID
<20071007093636.GA3568@lapse.madduck.net>
In-Reply-To
<alpine.LFD.0.999.0710061814310.23684@woody.linux-foundation.org>
also sprach Linus Torvalds <torvalds@linux-foundation.org> [2007.10.07.0226 +0100]:
> Well, I agrewe with Martin, and I think you missed his point.
(he did)
> Hmm? I do agree with "git push" as it now stands has a lot of warts, 
> although I don't really agree with the people who want to change the 
> default behavior.

So am I right if I say that all the logic should really be happening in send-pack and that push is really just an interface when it comes to selecting the refs to push, so it should basically feed through the options and refs, meaning that send-pack should get --tags and --shared as well?

Or should push enumerate all refs needed and pass them directly to send-pack, effectively making send-pack's --all option obsolete?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
"time flies like an arrow. fruit flies like a banana."
                                                       -- groucho marx
(panda eats shoots and leaves)
 
spamtraps: madduck.bogus@madduck.net
Previous: Linus TorvaldsNext: Linus Torvalds
Message 4 of 5 in “git-push [--all] and tags”
  1. martin f krafftOct 6, 2007
  2. Sam VilainOct 7, 2007
  3. Linus TorvaldsOct 7, 2007
  4. martin f krafftOct 7, 2007
  5. Linus TorvaldsOct 7, 2007

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.