git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Strange behaviour of --tags when adding remotes
@ 2011-04-16 10:50 Timo Schmiade
  0 siblings, 0 replies; only message in thread
From: Timo Schmiade @ 2011-04-16 10:50 UTC (permalink / raw
  To: git

Hi all,

I just stumbled upon what I think is a bit of a strange behaviour when
using "git remote add" with the --tags option. The remote I added was
fetch'able after the command (it was added to .git/config), but there
was no remote tracking branch set up for it (i.e. the
.git/refs/remotes/<shortname> directory didn't exist).

Only after removing the "tagopt = --tags" option from .git/config was it
that "git fetch <shortname>" created a remote tracking branch for the
remote.

After double-checking the "man git-fetch", I still think this behaviour
is quite confusing, so I wanted to inform you about this.

Kind regards,

Timo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-16 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 10:50 Strange behaviour of --tags when adding remotes Timo Schmiade

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).