All the mail mirrored from lore.kernel.org
 help / color / mirror / 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.