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

Re: [CFH] Remotes conversion script

From
SSanti <sbejar@gmail.com>
Date
Sep 24, 2006, 23:18 UTC
Message-ID
<8aa486160609241618w32501999rc7dcec1d16db440e@mail.gmail.com>
In-Reply-To
<ef730t$dk9$3@sea.gmane.org>
2006/9/25, Jakub Narebski <jnareb@gmail.com>:
Show 13 quoted lines
> Johannes Schindelin wrote:
>
> > On Sun, 24 Sep 2006, Jakub Narebski wrote:
> >
> >> If I remember correctly currently only some functionality provided by
> >> remotes file can be provided by [remote] and [branch] sections of git
> >> config.
> >
> > ... and what might the lacking functionality be?
>
> What about
>         Pull: +refs/heads/pu:refs/heads/pu
> functionality, i.e. allowing force-update (non fast-forward) fetches?

[remote "git"] url = git://.../git.git fetch = +refs/heads/pu:refs/heads/pu

Show 12 quoted lines
>
> > .git/remotes/<name>    config
> >
> > URL:                   remote.<name>.url
> > Pull:                  remote.<name>.fetch
> > Push:                  remote.<name>.push
> >
> > You can even have multiple entries in the config, and it behaves as if you
> > had multiple lines in .git/remotes/<name>.
>
> And first pull line is default branch to merge, all the rest is marked
> as not-for-merge?
The same way as with .git/remotes/.
the .git/remotes/ files and the [remote] sections are equivalent, modulo bugs.
   Santi
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 6 of 14 in “[CFH] Remotes conversion script”
  1. Petr BaudisSep 24, 2006
  2. Jakub NarebskiSep 24, 2006
  3. Johannes SchindelinSep 24, 2006
  4. Jakub NarebskiSep 24, 2006
  5. Jakub NarebskiSep 24, 2006
  6. SantiSep 24, 2006
  7. Johannes SchindelinSep 24, 2006
  8. Petr BaudisSep 24, 2006
  9. SantiSep 24, 2006
  10. Petr BaudisSep 24, 2006
  11. Jakub NarebskiSep 24, 2006
  12. Petr BaudisSep 24, 2006
  13. Jakub NarebskiSep 24, 2006
  14. Petr BaudisSep 24, 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.