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

git-push [--all] and tags

From
MKmartin f krafft <madduck@madduck.net>
Date
Oct 6, 2007, 16:05 UTC
Message-ID
<20071006160506.GA28238@lapse.madduck.net>
Hello people,

`git-push --all --tags` does not work because git-push ends up calling git-send-pack --all refs/tags/*, which the latter does not deal with.

Looking at the code, it seems that previously, --all would push everything, not just refs/heads/*. What's the reason that this was changed? Why aren't tags considered part of --all?

If I wanted to fix this, so that --all pushes heads and --all --tags pushes heads and tags, I could do so in two ways:

  1. instead of --all, pass refs/heads/* to git-send-pack
  2. add --tags to git-send-pack
which of these two would you prefer and why?
Thanks,
-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
"imagine if every thursday your shoes exploded if you
 tied them the usual way. this happens to us all the time
 with computers, and nobody thinks of complaining."
                                                        -- jeff raskin
 
spamtraps: madduck.bogus@madduck.net
Next: Sam Vilain
Message 1 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.