On Thu, Oct 06, 2011 at 07:33:23PM +0400, Kirill Likhodedov wrote: > It seems that 'git remote' doesn't display remotes registered not in > .git/config but in .git/remotes/. > Is it a bug? It seems to have been lost in 211c896 (Make git-remote a builtin, 2008-02-29). It wouldn't be that hard to add it back in. I'm not sure how much we care, though. We haven't generated .git/remotes files in a long time, and this is the first notice of the bug after 3.5 years. Is this an old repo that has remotes, or are you wondering if you should use them in a new repo? > Btw, are there advantages in using .git/remotes/ instead of .git/config ? No. They were an older format, and were replaced by having the remote defined in the configuration (and there are many things you can specify in the config that you can't do via .git/remotes). > If not, are there plans to remove .git/remotes/ support in future versions? I don't think there is a specific plan. They're kept for backwards compatibility. But really, there is no reason to be using them at all at this point. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html