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

Re: [RFD] making separate-remote layout easier to use

From
Junio C Hamano <junkio@cox.net>
Date
Nov 26, 2006, 03:48 UTC
Message-ID
<7v4psmzx4w.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061126031421.GC29394@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
> We moved away from the $GIT_DIR/branches directory to
> $GIT_DIR/remotes, yet we still support $GIT_DIR/branches in
> remote handling code.

IIRC, git never used "branches", so there was no "moving away". It was merely to interpret what cg-init left in the repository. Since the very early days remotes/ has been _the_ format git used, and I do not see any strong reason to change it now. The continued support for branches is an irrelevant topic and is not a justification to favor configuration over remotes/ nor the other way around.

> For one thing the newer remote.<name>.fetch seems to make more sense
> to new users than Pull: lines do.
That is quite subjective.
> ..., so there is probably low risk of
> breakage ...
Again, "low risk of breakage" does not justify switching.

As I said in the other message, I think configuration vs remotes/ is futile subject and premature topic to talk about before nailing down what semantics we would want. Either format can have the expressive power, once we know what we want to express.

Previous: Shawn PearceNext: Shawn Pearce
Message 8 of 22 in “[RFD] making separate-remote layout easier to use”
  1. Junio C HamanoNov 25, 2006
  2. Jakub NarebskiNov 25, 2006
  3. Junio C HamanoNov 25, 2006
  4. Jakub NarebskiNov 25, 2006
  5. Junio C HamanoNov 26, 2006
  6. Junio C HamanoNov 26, 2006
  7. Shawn PearceNov 26, 2006
  8. Junio C HamanoNov 26, 2006
  9. Shawn PearceNov 26, 2006
  10. Junio C HamanoNov 26, 2006
  11. Shawn PearceNov 26, 2006
  12. Junio C HamanoNov 26, 2006
  13. Shawn PearceNov 26, 2006
  14. Junio C HamanoNov 26, 2006
  15. Jakub NarebskiNov 26, 2006
  16. Josef WeidendorferNov 27, 2006
  17. Junio C HamanoNov 27, 2006
  18. Jon LoeligerNov 30, 2006
  19. Junio C HamanoNov 30, 2006
  20. Jakub NarebskiNov 26, 2006
  21. Josef WeidendorferNov 27, 2006
  22. Jon LoeligerNov 29, 2006

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.