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

Re: [PATCH] git-ls-files.txt: clarify what "other files" mean for --other

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 7, 2009, 08:15 UTC
Message-ID
<vpqprb8xcoq.fsf@bauges.imag.fr>
In-Reply-To
<7vmy6cfz9j.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 9 quoted lines
> Matthieu Moy <Matthieu.Moy@imag.fr> writes:
>
>> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
>> ---
>> Actually, if it was not about backward compatibility, I'd just replace
>> -o, --other with -u, --untracked and talk about "untracked" everywhere,
>> but compatibility matters more than consistancy for plumbing.
>
> "ls-files -u" talks about (u)nmerged files.
(forgot this, so -u is even less an option)
> What consistency did you have in mind?

I found no place outside git ls-files where Git talks about "other" files. Everywhere else, it talks about Untracked files.

As for the -u option, git status/commit -u[mode] is for Untracked files, not unmerged ones.

-- Matthieu

Previous: Junio C Hamano
Message 3 of 3 in “git-ls-files.txt: clarify what "other files" mean for --other”
  1. git-ls-files.txt: clarify what "other files" mean for --otherMatthieu Moy, Aug 6, 2009
  2. Junio C HamanoAug 6, 2009
  3. Matthieu MoyAug 7, 2009

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.