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 23, 2005, 01:07 UTC
Message-ID
<7vbr3p1mws.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200508221835.31275.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes:
Show 6 quoted lines
> I think that both, default and non-default persistant
> mappings, are only a handy convenience issue for less
> typing. If GIT core is not doing this, some (most?) porcelains
> will invent their own way for storing these mappings (like
> Cogito is doing with branches/). I think it is better if this
> is "standardized".

I agree in principle, and it should not be hard to add support for optional "Default-pull" and "Default-push" keywords to remotes/ files (lack of which means to use LHS of refspecs on "Pull" or "Push" lines) to git-parse-remote-script. Patches welcome.

> Currently missing here is automatic detection of the remote
> repository for a given head to be pulled/pushed. But this is
> no format issue.
"git ls-remote <repo>" perhaps?
Previous: Josef WeidendorferNext: Junio C Hamano
Message 8 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.