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

Re: git ls-files --error-unmatch weirdness

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 12, 2011, 17:56 UTC
Message-ID
<7vaabeo6nl.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110812132436.GA12147@goldbirke>
SZEDER Gábor <szeder@ira.uka.de> writes:
> repo (master)$ git ls-files --others --error-unmatch

The "--error-unmatch" is about reporting errors in pathspecs you gave from the command line. The behaviour is undefined if you do not give any, like the above command line.

Having said that, I wouldn't be surprised if it triggered when run from an empty subdirectory.

Previous: Nguyen Thai Ngoc Duy
Message 3 of 3 in “git ls-files --error-unmatch weirdness”
  1. SZEDER GáborAug 12, 2011
  2. Nguyen Thai Ngoc DuyAug 12, 2011
  3. Junio C HamanoAug 12, 2011

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.