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

Re: [PATCH 3/3] git-push: make git push --dry-run --porcelain exit with status 0 even if updates will be rejected

From
Larry D'Anna <larry@elder-gods.org>
Date
Feb 27, 2010, 04:01 UTC
Message-ID
<20100227040130.GA11517@cthulhu>
In-Reply-To
<be6fef0d1002261844u5082b5bv90d46852218f632e@mail.gmail.com>
* Tay Ray Chuan (rctay89@gmail.com) [100226 21:44]:
Show 14 quoted lines
> Hi,
> 
> On Sat, Feb 27, 2010 at 4:44 AM, Larry D'Anna <larry@elder-gods.org> wrote:
> > The script calling git push --dry-run --porcelain can see clearly from the
> > output that the updates will be rejected.  However, it will probably need to
> > distinguish this condition from the push failing for other reasons, such as the
> > remote not being reachable.
> >
> > Signed-off-by: Larry D'Anna <larry@elder-gods.org>
> 
> I thought that in the previous iteration, the status won't be touched
> anymore? You agreed too:
> 
>   <20100210055529.GA1566@cthulhu>
fixed.
        --larry
Previous: Tay Ray Chuan
Message 6 of 6 in “ld/push-porcelain”
  1. 0/3 ld/push-porcelainLarry D'Anna, Feb 26, 2010
  2. 1/3 git-push: fix an advice message so it goes to stderrLarry D'Anna, Feb 26, 2010
  3. 2/3 git-push: send "To <remoteurl>" messages to the standard output in --porcelain modeLarry D'Anna, Feb 26, 2010
  4. 3/3 git-push: make git push --dry-run --porcelain exit with status 0 even if updates will be rejectedLarry D'Anna, Feb 26, 2010
  5. Tay Ray ChuanFeb 27, 2010
  6. Larry D'AnnaFeb 27, 2010

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.