From: Robin Rosenberg Date: Sat, 31 Oct 2009 18:02:47 GMT Subject: Re: [PATCH] Don't create the $GIT_DIR/branches directory on init Message-ID: <200910311902.48317.robin.rosenberg@dewire.com> In-Reply-To: <200910311011.31189.trast@student.ethz.ch> lördag 31 oktober 2009 10:11:29 skrev Thomas Rast: > Robin Rosenberg wrote: > > Git itself does not even look at this directory. > > This contradicts the git-fetch manpage though: from urls-remotes.txt, > it includes > > The name of one of the following can be used instead > of a URL as `` argument: > > * a remote in the git configuration file: `$GIT_DIR/config`, > * a file in the `$GIT_DIR/remotes` directory, or > * a file in the `$GIT_DIR/branches` directory. > > (and a longer explanation of what they need to look like). > > So which one is wrong? I, and a few other people, it seems. Seems the purpose of these files is a bit different. Git does look in these directories (both) when fetch is run. Seems remotes is not created by init though. -- robin