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

Re: [PATCH] remote: add meaningful exit code on missing/existing

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 26, 2020, 21:00 UTC
Message-ID
<xmqq5z6wem82.fsf@gitster.c.googlers.com>
In-Reply-To
<20201026194519.GB16150@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> This is a run-on sentence; the comma after `2` should be a period.
>
> I'd also put an Oxford comma after `rename`, but that's a stylistic
> choice. :)
Will queue with this squashed in.
 Documentation/git-remote.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git c/Documentation/git-remote.txt w/Documentation/git-remote.txt
index 7c84631343..31c29c9b31 100644
--- c/Documentation/git-remote.txt
+++ w/Documentation/git-remote.txt
@@ -208,9 +208,9 @@ EXIT STATUS
 
 On success, the exit status is `0`.
 
-When subcommands such as 'add', 'rename' and 'remove' can't find the
-remote in question the exit status is `2`, when the remote already
-exists the exit status is `3`.
+When subcommands such as 'add', 'rename', and 'remove' can't find the
+remote in question, the exit status is `2`. When the remote already
+exists, the exit status is `3`.
 
 On any other error, the exit status may be any other non-zero value.
 
Previous: Jeff KingNext: Ævar Arnfjörð Bjarmason
Message 5 of 7 in “remote: add meaningful exit code on missing/existing”
  1. remote: add meaningful exit code on missing/existingÆvar Arnfjörð Bjarmason, Oct 26, 2020
  2. Eric SunshineOct 26, 2020
  3. Junio C HamanoOct 26, 2020
  4. Jeff KingOct 26, 2020
  5. Junio C HamanoOct 26, 2020
  6. remote: add meaningful exit code on missing/existingÆvar Arnfjörð Bjarmason, Oct 27, 2020
  7. Bert WesargOct 26, 2020

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.