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

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

From
Junio C Hamano <junkio@cox.net>
Date
Mar 18, 2007, 20:37 UTC
Message-ID
<7vzm6ajnj1.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200703182134.46450.johannes.sixt@telecom.at>
Johannes Sixt <johannes.sixt@telecom.at> writes:
Show 13 quoted lines
> The configured refspecs are printed almost verbatim, i.e. both the local
> and the remote branch name separated by a colon are printed; only the
> prefix 'refs/heads/' is removed, like this:
>
>   Local branch(es) pushed with 'git push'
>     master refs/tags/*:refs/tags/* next:next
>
> Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
> ---
>  [Resent; I don't see the patch applied nor were there any comments.]
>
>  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?

Previous: Johannes SixtNext: Johannes Sixt
Message 2 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.