Re: [PATCH] Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docs
- From
Jeff King <peff@peff.net>
- Date
- Nov 30, 2009, 05:03 UTC
- Message-ID
- <20091130050333.GA26585@coredump.intra.peff.net>
- In-Reply-To
- <1259552316-20088-2-git-send-email-ayiehere@gmail.com>
On Mon, Nov 30, 2009 at 11:38:36AM +0800, ayiehere@gmail.com wrote:
Show 7 quoted lines
> DESCRIPTION > ----------- > This script is included in various scripts to supply > -routines to parse files under $GIT_DIR/remotes/ and > +routines to parse files under $GIT_DIR/refs/remotes/ and > $GIT_DIR/branches/ and configuration variables that are related > to fetching, pulling and pushing.
Er, what? $GIT_DIR/remotes/ and $GIT_DIR/refs/remotes/ are not even remotely the same thing. The former holds information about how to contact remotes (but that information is usually held in the config file these days). The latter holds any tracking refs we have fetched from the remotes.
-Peff