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

Re: Show remote branches on gitweb

From
Junio C Hamano <junkio@cox.net>
Date
Nov 25, 2006, 00:40 UTC
Message-ID
<7vy7q08iko.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061124235911.GO7201@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 5 quoted lines
>> The problem is that to implement it _well_ we have to get remotes, both
>> $GIT_DIR/remotes and config remote.xxx, info. And the latter (config
>> remotes info) needs config parsing, something we lack.
>
> Does that mean we _can_ parse $GIT_DIR/remotes? ;-)

Surely you should be able to. You are working in Perl and the remotes and config are trivially parsable text files.

Previous: Jakub NarebskiNext: Petr Baudis
Message 6 of 12 in “Show remote branches on gitweb”
  1. PazuNov 24, 2006
  2. Jakub NarebskiNov 24, 2006
  3. Jakub NarebskiNov 24, 2006
  4. Petr BaudisNov 24, 2006
  5. Jakub NarebskiNov 25, 2006
  6. Junio C HamanoNov 25, 2006
  7. Petr BaudisNov 25, 2006
  8. Junio C HamanoNov 25, 2006
  9. Jakub NarebskiNov 28, 2006
  10. PazuNov 27, 2006
  11. Jakub NarebskiNov 27, 2006
  12. PazuNov 28, 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.