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

Re: Man pages lack of exit status information

From
Wincent Colaiuta <win@wincent.com>
Date
Apr 17, 2008, 08:17 UTC
Message-ID
<BE732D9B-D2C2-4578-BC9D-52473C37EA74@wincent.com>
In-Reply-To
<38b2ab8a0804170045xa542274pa9f1e434f428b1cd@mail.gmail.com>
El 17/4/2008, a las 9:45, Francis Moreau escribió:
Show 8 quoted lines
> Hello,
>
> I checked on a couple of git commands' man pages and I couldn't find
> the exit status of these commands.
>
> For example: git-status, git-diff man pages don't tell anything.
>
> Am I missing something ?

The "git-diff" man page documents this under the --exit-code option. It probably would be nice to have an "EXIT STATUS" section added to the man pages of those commands for which it would be interesting (like "git-diff") and perhaps to the main "git" man page as well (with general info).

If there is interest in this I'll whip up a doc patch.

Cheers, Wincent

Previous: Francis MoreauNext: Francis Moreau
Message 2 of 4 in “Man pages lack of exit status information”
  1. Francis MoreauApr 17, 2008
  2. Wincent ColaiutaApr 17, 2008
  3. Francis MoreauApr 17, 2008
  4. David MansfieldApr 17, 2008

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.