Thread (4 messages) 4 messages, 2 authors, 2016-06-15

Re: [PATCH] Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docs

From: Nazri Ramliy <hidden>
Date: 2016-06-15 22:47:47

On Mon, Nov 30, 2009 at 1:03 PM, Jeff King [off-list ref] wrote:
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.
Erg.. thanks for the enlightenment.

I was reading 'git help remote' while attempting to change my local git
repo from tracking

  http://www.kernel.org/pub/scm/git/git.git

to

  git://git.kernel.org/pub/scm/git/git.git

and noticed that the documentation refers to $GIT_DIR/remotes and
(wrongly) thought that it meant $GIT_DIR/refs/remotes.

Sorry for the noise.

Nazri.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help