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

Re: [PATCH v2] status: -i shorthand for --ignored command line option

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 9, 2018, 15:44 UTC
Message-ID
<xmqqpnyrczo8.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180809062142.15638-1-guriev-ns@ya.ru>
Nicholas Guriev <guriev-ns@ya.ru> writes:
> It allows for uniformity with the --untracked-files option. Also
> the new short flag saves the number of keys to press for the
> typically git-status command.

Unlike "-u', "-i" is supported by "git commit" which shares the underlying implementation, and that is the historical reason why we never had "-i" shorthand, I think.

While I do understand why sometimes "-u" is useful, especially "-uno", to help those whose .gitignore is not managed as well as it should be, I am not sure why a "typical git-status" invocation would ask for "--ignored" that often to require such a short-hand.

Previous: Nicholas GurievNext: Коля Гурьев
Message 4 of 6 in “status: -i shorthand for --ignored command line option”
  1. status: -i shorthand for --ignored command line optionNicholas Guriev, Aug 8, 2018
  2. Eric SunshineAug 8, 2018
  3. status: -i shorthand for --ignored command line optionNicholas Guriev, Aug 9, 2018
  4. Junio C HamanoAug 9, 2018
  5. status: -i shorthand for --ignored command line optionКоля Гурьев, Aug 13, 2018
  6. Junio C HamanoAug 13, 2018

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.