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

Re: [PATCH] Teach git-remote to list pushed branches.

From
Johannes Sixt <johannes.sixt@telecom.at>
Date
Mar 19, 2007, 19:16 UTC
Message-ID
<200703192016.46894.johannes.sixt@telecom.at>
In-Reply-To
<7vzm6ajnj1.fsf@assigned-by-dhcp.cox.net>
On Sunday 18 March 2007 21:37, Junio C Hamano wrote:
Show 6 quoted lines
> Johannes Sixt <johannes.sixt@telecom.at> writes:
> >  The hunk that reads the 'Push'es from the .git/remotes file is taken
> >  almost verbatim from the corresponding 'Pull' clause and is untested.
>
> Maybe while waiting for application nor comments you could have
> tested and removed that comment?
Fair enough ;)

While waiting for application or comments again, I did test now, and the patch does what I expect even for .git/remotes files, that is, it prints the refs to be pushed just like it does for remotes noted in the config file.

-- Hannes
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Teach git-remote to list pushed branches.”
  1. Teach git-remote to list pushed branches.Johannes Sixt, Mar 18, 2007
  2. Junio C HamanoMar 18, 2007
  3. Johannes SixtMar 19, 2007
  4. Junio C HamanoMar 19, 2007
  5. Johannes SixtMar 20, 2007
  6. Junio C HamanoMar 21, 2007

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.