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

Possible bug in 'git status' exit code is 1 instead of 0

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Jan 9, 2007, 17:45 UTC
Message-ID
<e5bfff550701090945u5a240fe9xf46cc40b030e1ba7@mail.gmail.com>

bash-3.1$ pwd /home/marco/programmi/git bash-3.1$ git status; echo $? # On branch refs/heads/origin nothing to commit (use "git add file1 file2" to include for commit) 1 bash-3.1$ git --version git version 1.5.0.rc0.g244a7

Next: Junio C Hamano
Message 1 of 5 in “Possible bug in 'git status' exit code is 1 instead of 0”
  1. Marco CostalbaJan 9, 2007
  2. Junio C HamanoJan 9, 2007
  3. Marco CostalbaJan 9, 2007
  4. Junio C HamanoJan 9, 2007
  5. Marco CostalbaJan 9, 2007

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.