git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-push [--all] and tags
@ 2007-10-06 16:05 martin f krafft
  2007-10-07  1:02 ` Sam Vilain
  0 siblings, 1 reply; 5+ messages in thread
From: martin f krafft @ 2007-10-06 16:05 UTC (permalink / raw)
  To: git discussion list

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

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

[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-07 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-06 16:05 git-push [--all] and tags martin f krafft
2007-10-07  1:02 ` Sam Vilain
2007-10-07  1:26   ` Linus Torvalds
2007-10-07  9:36     ` martin f krafft
2007-10-07 16:39       ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).