Re: [PATCH] Make git-clone --use-separate-remote the default
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 24, 2006, 11:37 UTC
- Message-ID
- <7vodqxaxe4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061124143200.52aa1901.vsu@altlinux.ru>
Sergey Vlasov <vsu@altlinux.ru> writes:
Show 11 quoted lines
> BTW, this is broken (and was broken even in 1.4.3.x): > > $ mkdir ~/tmp/test_repo > $ ( cd ~/tmp/test_repo; git-init-db ) > defaulting to local storage area > $ git push ~/tmp/test_repo tag v1.4.4.1 > error: src refspec tag does not match any. > error: dst refspec tag does not match any existing ref on the remote and does not start with refs/. > fatal: unexpected EOF > > Omitting the "tag" word works:
I think this was broken when git-push was made a built-in, and the documentation was not updated.
I use only tags in vN.M.L.. format and Linus does so too, so probably that was one of the reasons why this was not noticed for quite some time.
Fixes welcome, preferably to the builtin-push.c not to the documentation.