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

Re: [PATCH] add --porcelain option to git-push

From
Larry D'Anna <larry@elder-gods.org>
Date
Jun 24, 2009, 00:26 UTC
Message-ID
<20090624002651.GA27460@cthulhu>
In-Reply-To
<85647ef50906231538m118120adnd2292b65ec953baa@mail.gmail.com>
* Constantine Plotnikov (constantine.plotnikov@gmail.com) [090623 18:38]:
Show 8 quoted lines
> On Tue, Jun 23, 2009 at 5:10 AM, Larry D'Anna<larry@elder-gods.org> wrote:
> > If --porcelain is used git-push will produce machine-readable output.  The
> > output status line for each ref will be tab-separated and sent to stdout instead
> > of stderr.  The full symbolic names of the refs will be given.  For example
> >
> BTW is it possible to have --porcelain + -v together. A machine
> readable progress output would come very handy for IDEs and other GUI
> tools that use command line tools.

My patch makes --porcelain imply some of what -v does, but not all. Specifically --porcelain will output a status line for each ref that's to be updated, weather -v is selected or not. However -v enables some other output besides that. There's nothing stopping you from selecting -v and --porcelain. Basically --porcelain only affects the per-ref status lines. All other aspects of git-push are the same.

        --larry
Previous: Constantine PlotnikovNext: Junio C Hamano
Message 10 of 13 in “I'd like to be able to know what git-push will do”
  1. Larry D'AnnaJun 18, 2009
  2. Jeff KingJun 22, 2009
  3. add --porcelain option to git-pushLarry D'Anna, Jun 23, 2009
  4. Marc BranchaudJun 23, 2009
  5. add --plumbing option to git-pushLarry D'Anna, Jun 23, 2009
  6. Junio C HamanoJun 23, 2009
  7. Marc BranchaudJun 23, 2009
  8. Markus HeidelbergJun 23, 2009
  9. Constantine PlotnikovJun 23, 2009
  10. Larry D'AnnaJun 24, 2009
  11. Junio C HamanoJun 25, 2009
  12. Larry D'AnnaJun 25, 2009
  13. add --summary option to git-pushLarry D'Anna, Jun 27, 2009

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.