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

Re: [PATCH] gitweb: use action dispatcher for non-project actions, too.

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 18, 2006, 14:22 UTC
Message-ID
<ec4ie9$sht$1@sea.gmane.org>
In-Reply-To
<87k656rvim.wl%cworth@cworth.org>
Carl Worth wrote:
Show 6 quoted lines
> * A mechanism for not requiring me to invent tracking-branch names.  I
>   end up manually doing a scheme with short prefixes for any given
>   repository. It would be nice if I could configure that (in
>   .git/remotes/<something> say) once so that any new branch I pulled
>   would get its properly named tracking branch. And git could find the
>   right remotes file by matching up the URL.
This mechanism is called 'git clone --use-separate-remote'.
  --use-separate-remote
     Save remotes  heads under $GIT_DIR/remotes/origin/ instead  of
     $GIT_DIR/refs/heads/. Only the master branch is saved in the latter.
     (as origin).

(Shouldn't it be $GIT_DIT/refs/remotes/<repository>/ instead, BTW?) And of course you can configure pull lines in the following way:

  Pull: refs/heads/<branch>:refs/remotes/<repository>/<branch>

Unfortunately, there is no way to automatically pull new refs and tags in such a way.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Carl WorthNext: Petr Baudis
Message 11 of 25 in “gitweb: continue consolidation of URL generation.”
  1. gitweb: continue consolidation of URL generation.Martin Waitz, Aug 16, 2006
  2. gitweb: use common parameter parsing and generation for "o", too.Martin Waitz, Aug 16, 2006
  3. gitweb: support for "fp" parameter.Martin Waitz, Aug 16, 2006
  4. gitweb: support for / as home_link.Martin Waitz, Aug 16, 2006
  5. gitweb: fix project list if PATH_INFO=="/".Martin Waitz, Aug 16, 2006
  6. gitweb: use action dispatcher for non-project actions, too.Martin Waitz, Aug 16, 2006
  7. Junio C HamanoAug 17, 2006
  8. Carl WorthAug 17, 2006
  9. Petr BaudisAug 18, 2006
  10. Carl WorthAug 18, 2006
  11. Jakub NarebskiAug 18, 2006
  12. Petr BaudisAug 18, 2006
  13. Martin WaitzAug 17, 2006
  14. Jakub NarebskiAug 17, 2006
  15. Martin WaitzAug 17, 2006
  16. Jakub NarebskiAug 17, 2006
  17. Jakub NarebskiAug 17, 2006
  18. Martin WaitzAug 17, 2006
  19. Jakub NarebskiAug 17, 2006
  20. Martin WaitzAug 18, 2006
  21. Jakub NarebskiAug 19, 2006
  22. Martin WaitzAug 19, 2006
  23. Jakub NarebskiAug 19, 2006
  24. Junio C HamanoAug 17, 2006
  25. Martin WaitzAug 17, 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.