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

Re: Getting new branches from remote repo.

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 13, 2006, 18:40 UTC
Message-ID
<ejae5a$5qb$1@sea.gmane.org>
In-Reply-To
<7vr6w78b4x.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
>  - We need to remember old branches that the user is not
>    interested in, so that we do not even ask to add it only
>    because it does not have a local tracking branch.

Wouldn't it be easier just to add --all flag to git-fetch, which would fetch _all_ the branches, and --save to write remotes file... or rather appropriate config entry?

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Junio C Hamano
Message 9 of 9 in “Getting new branches from remote repo.”
  1. Alexander LitvinovNov 13, 2006
  2. Junio C HamanoNov 13, 2006
  3. Alexander LitvinovNov 13, 2006
  4. Karl HasselströmNov 13, 2006
  5. Matthias HopfNov 13, 2006
  6. Shawn PearceNov 13, 2006
  7. Karl HasselströmNov 13, 2006
  8. Junio C HamanoNov 13, 2006
  9. Jakub NarebskiNov 13, 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.