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

Re: [PATCH 3/4] git-push: make git push --porcelain print "Done"

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Feb 27, 2010, 05:22 UTC
Message-ID
<be6fef0d1002262122u1a7396f4jefbab1cb9a484229@mail.gmail.com>
In-Reply-To
<22ec18ddf7cc504addf7929e2543c60d836d2467.1267245870.git.larry@elder-gods.org>
Hi,
On Sat, Feb 27, 2010 at 12:52 PM, Larry D'Anna <larry@elder-gods.org> wrote:
Show 11 quoted lines
> The script calling git push --porcelain --dry-run can see clearly from the
> output if an update was rejected.  However, it will probably need to distinguish
> this condition from the push failing for other reasons, such as the remote not
> being reachable.
>
> This patch modifies git push --porcelain to print "Done" after the rest of its
> output unless any errors have occurred.  For the purpose of the "Done" line,
> knowing a ref will be rejected in a --dry-run does not count as an error.
> Actual rejections in non --dry-run pushes do count as errors.
>
> Signed-off-by: Larry D'Anna <larry@elder-gods.org>
Acked-by: Tay Ray Chuan <rctay89@gmail.com>
-- 
Cheers,
Ray Chuan
Previous: Larry D'AnnaNext: Larry D'Anna
Message 5 of 6 in “ld/push-porcelain”
  1. 0/4 ld/push-porcelainLarry D'Anna, Feb 27, 2010
  2. 1/4 git-push: fix an advice message so it goes to stderrLarry D'Anna, Feb 27, 2010
  3. 2/4 git-push: send "To <remoteurl>" messages to the standard output in --porcelain modeLarry D'Anna, Feb 27, 2010
  4. 3/4 git-push: make git push --porcelain print "Done"Larry D'Anna, Feb 27, 2010
  5. Tay Ray ChuanFeb 27, 2010
  6. 4/4 git-push: add tests for git push --porcelainLarry D'Anna, Feb 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.