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

Re: [PATCH] Don't create the $GIT_DIR/branches directory on init

From
Thomas Rast <trast@student.ethz.ch>
Date
Oct 31, 2009, 09:11 UTC
Message-ID
<200910311011.31189.trast@student.ethz.ch>
In-Reply-To
<1256923228-18949-1-git-send-email-robin.rosenberg@dewire.com>
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 `<repository>` 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?
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Junio C HamanoNext: Robin Rosenberg
Message 3 of 8 in “Don't create the $GIT_DIR/branches directory on init”
  1. Don't create the $GIT_DIR/branches directory on initRobin Rosenberg, Oct 30, 2009
  2. Junio C HamanoOct 30, 2009
  3. Thomas RastOct 31, 2009
  4. Robin RosenbergOct 31, 2009
  5. Shawn O. PearceOct 31, 2009
  6. Junio C HamanoOct 31, 2009
  7. Shawn O. PearceOct 31, 2009
  8. Junio C HamanoOct 31, 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.