git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: ayiehere@gmail.comNext: Nazri Ramliy
Message 3 of 4 in “Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docs”
  1. Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docsayiehere@gmail.com, Nov 30, 2009
  2. Update $GIT_DIR/remotes to $GIT_DIR/refs/remotes in docsayiehere@gmail.com, Nov 30, 2009
  3. Jeff KingNov 30, 2009
  4. Nazri RamliyNov 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.