ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] git, получить одну метку
@ 2015-11-29 10:24 Sergey Y. Afonin
  2015-11-29 10:45 ` Hihin Ruslan
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Y. Afonin @ 2015-11-29 10:24 UTC (permalink / raw)
  To: devel

Приветствую.

А как можно получить один тэг из git-репозитария ? Вроде бы, вот написано:

If you got the wrong tag, and want the new one, please delete
the old one and fetch the new one by doing:

     git tag -d X
     git fetch origin tag X

Или, если вот так:

$ git fetch git://github.com/MidnightCommander/mc tag
fatal: You need to specify a tag name.

Вроде бы, всё здорово, но...

$ git fetch git://github.com/MidnightCommander/mc tag 4.8.15
From git://github.com/MidnightCommander/mc
 * [new tag]         4.8.15     -> 4.8.15
 * [new tag]         4.7.5.1    -> 4.7.5.1
 * [new tag]         4.7.5.3    -> 4.7.5.3
 * [new tag]         4.7.5.5    -> 4.7.5.5
 * [new tag]         4.7.5.6    -> 4.7.5.6
 * [new tag]         4.8.11     -> 4.8.11
 * [new tag]         4.8.12     -> 4.8.12
 * [new tag]         4.8.6      -> 4.8.6
 * [new tag]         4.8.7      -> 4.8.7
 * [new tag]         4.8.8      -> 4.8.8
 * [new tag]         mc-4.6.2_utf8 -> mc-4.6.2_utf8

Прилетает толпа. И зачем "you need to specify a tag name" тогда ?
Не похоже ли на ошибку в git 2.1.4-alt1 ? Или так и должно быть ?

-- 
С уважением, Сергей Афонин

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

* Re: [devel] git, получить одну метку
  2015-11-29 10:24 [devel] git, получить одну метку Sergey Y. Afonin
@ 2015-11-29 10:45 ` Hihin Ruslan
  2015-11-29 11:22   ` Sergey Y. Afonin
  0 siblings, 1 reply; 5+ messages in thread
From: Hihin Ruslan @ 2015-11-29 10:45 UTC (permalink / raw)
  To: devel

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

Здравствуйте Sergey Y. Afonin
  В сообщении от 29 ноября 2015 Sergey Y. Afonin написал(a):
> Прилетает толпа. И зачем "you need to specify a tag name"
> тогда ?

IMHO вы получили все метки от текущего состояния до заданной 
метки.

-- 
  А ещё говорят так  (fortune):
 
Exceptions prove the rule, and wreck the budget. -- Miller 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [devel] git, получить одну метку
  2015-11-29 10:45 ` Hihin Ruslan
@ 2015-11-29 11:22   ` Sergey Y. Afonin
  2015-11-29 11:32     ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Y. Afonin @ 2015-11-29 11:22 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sunday 29 November 2015, Hihin Ruslan wrote:

> > Прилетает толпа. И зачем "you need to specify a tag name" тогда ?
 
> IMHO вы получили все метки от текущего состояния до заданной метки.
 
Нет, это я проверил. Прилетают все отсутствующие, что бы не указать.

-- 
С уважением, Сергей Афонин


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

* Re: [devel] git, получить одну метку
  2015-11-29 11:22   ` Sergey Y. Afonin
@ 2015-11-29 11:32     ` Dmitry V. Levin
  2015-11-29 11:50       ` Sergey Y. Afonin
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry V. Levin @ 2015-11-29 11:32 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Sun, Nov 29, 2015 at 03:22:56PM +0400, Sergey Y. Afonin wrote:
> On Sunday 29 November 2015, Hihin Ruslan wrote:
> 
> > > Прилетает толпа. И зачем "you need to specify a tag name" тогда ?
>  
> > IMHO вы получили все метки от текущего состояния до заданной метки.
>  
> Нет, это я проверил. Прилетают все отсутствующие, что бы не указать.

RTFM?

"-n, --no-tags
By default, tags that point at objects that are downloaded from the remote
repository are fetched and stored locally.  This option disables this
automatic tag following.  The default behavior for a remote may be
specified with the remote.<name>.tagopt setting.  See git-config(1)."


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [devel] git, получить одну метку
  2015-11-29 11:32     ` Dmitry V. Levin
@ 2015-11-29 11:50       ` Sergey Y. Afonin
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Y. Afonin @ 2015-11-29 11:50 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sunday 29 November 2015, Dmitry V. Levin wrote:

> > Нет, это я проверил. Прилетают все отсутствующие, что бы не указать.
> 
> RTFM?
>
> "-n, --no-tags
> By default, tags that point at objects that are downloaded from the remote
> repository are fetched and stored locally.  This option disables this
> automatic tag following.  The default behavior for a remote may be
> specified with the remote.<name>.tagopt setting.  See git-config(1)."

Здоровый этот FM... То есть, под "tag following" понимается "tag following" 
вперёд и назад одновременно, получается.

-- 
С уважением, Сергей Афонин


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

end of thread, other threads:[~2015-11-29 11:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-29 10:24 [devel] git, получить одну метку Sergey Y. Afonin
2015-11-29 10:45 ` Hihin Ruslan
2015-11-29 11:22   ` Sergey Y. Afonin
2015-11-29 11:32     ` Dmitry V. Levin
2015-11-29 11:50       ` Sergey Y. Afonin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git