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

Bug | Documentation | git add -all | Synopsis has minor mistake

From
BLBenjamin Lehmann <ben.lehmann@gmail.com>
Date
Dec 15, 2023, 12:38 UTC
Message-ID
<CAM=w4Pn46nTcWA1e=n4Rms76gCx7iqbRmOWf3=vRmKgtbhqQmA@mail.gmail.com>
Hey.

The mistake can be found in the synopsis here: https://git-scm.com/docs/git-add#Documentation/git-add.txt--A

In the synopsys, the options -all currently reads:
[--[no-]all | --[no-]ignore-removal |

You can see that there is no mention of -A, which is the main way that people would use -all perhaps, so it really ought to be included correctly in the synopsis. In addition, the closing square-bracket is missing.

Hope this was the right place to report this - seemed to be the only option.
Ben
Next: Eric Sunshine
Message 1 of 5 in “Bug | Documentation | git add -all | Synopsis has minor mistake”
  1. Benjamin LehmannDec 15, 2023
  2. git-add.txt: add missing short option -A to synopsisEric Sunshine, Dec 15, 2023
  3. Junio C HamanoDec 15, 2023
  4. Eric SunshineDec 15, 2023
  5. Eric SunshineDec 15, 2023

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.