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

Re: Multi-head pulling series

From
Junio C Hamano <junkio@cox.net>
Date
Aug 20, 2005, 18:54 UTC
Message-ID
<7vfyt4l9q9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200508181245.58250.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
Show 8 quoted lines
>> 	$ cat $GIT_DIR/remotes/www
>> 	URL: http://www.kernel.org/pub/scm/git/git.git/
>>	Pull: master:ko-master pu:ko-pu
>>	Push: master:master pu:pu foo:bar
>
> Isn't this mixing two kinds of information:
> 1) Some default/persistent mapping of local to remote heads
> 2) The default heads which are pulled/pushed when only giving the remote

I am not convinced myself that default/persistent mapping makes much sense, and updating the stored mappings dynamically when the user uses non-default mappings in push/pull as a one-shot operation does not make any sense at all at least to me. You should rather consider that the current specification does not deal with (1) at all. The set of default pull/push refs does not make much sense without mappings for them, so that is what the file records.

Previous: Josef WeidendorferNext: Josef Weidendorfer
Message 6 of 9 in “Multi-head pulling series”
  1. Junio C HamanoAug 18, 2005
  2. 1/3 Start adding the $GIT_DIR/remotes/ support.Junio C Hamano, Aug 18, 2005
  3. 2/3 Multi-head fetch.Junio C Hamano, Aug 18, 2005
  4. 3/3 Update git-pull to match updated git-fetch.Junio C Hamano, Aug 18, 2005
  5. Josef WeidendorferAug 18, 2005
  6. Junio C HamanoAug 20, 2005
  7. Josef WeidendorferAug 22, 2005
  8. Junio C HamanoAug 23, 2005
  9. Junio C HamanoAug 23, 2005

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.