Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Pushing a single tag (ref + object)?

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:09


On Wed, 19 Oct 2005, Martin Langhoff wrote:
Now, I am at a loss on how to push a _tag_ object+ref to the repo,
without doing a git-push --all, which I naturally don't want to do. I
managed to push the object itself, doing

    git-push repository tagrefname
This really should work. 

Can you try with

	git-send-pack repository tagname

first? 

If that works for you (it really really should, since that's what I do all 
the time), then the problem is in "get_remote_refs_for_push"..

Oh. Looking at "git-push.sh", I think it is just really really buggy.

It does all this magic to set "x", but then it never uses it, and uses 
"$@" instead after all. Which it has shifted all away. 

How does that thing work at all? Me, I've always used the raw 
git-send-pack program, so I've never tested it, but obviously others are 
using it.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help