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

Missing: Consistency of clean state output of "git add -i"

From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
May 28, 2017, 07:15 UTC
Message-ID
<1495955737.4716.3.camel@gmail.com>

Hello all, When the "git add -i" command is triggered with a clean working directory and index, the outputs of the various options don't seem to be giving consistent results. A few of the distinct outputs are,

1. No output, the options are displayed
2. A single blank line and the options are displayed
3. The "add untracked" option, prints "No untracked files." and adds a
empty line and prints the options
4. The "patch" option, prints "No changes" and prints the options

It seems that the clean state output should be improved for the sake of a consistent user interface.

Note: I could possibly help if I were pointed to the implementation.
Quote: "We hate most in others that which we fail to see in ourselves."
- Anil Dash
--
Regards,
Kaartic
Next: Kaartic Sivaraam
Message 1 of 4 in “Missing: Consistency of clean state output of "git add -i"”
  1. Kaartic SivaraamMay 28, 2017
  2. Kaartic SivaraamMay 28, 2017
  3. Philip OakleyMay 28, 2017
  4. Kaartic SivaraamMay 28, 2017

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.