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

Re: ls-files -t broken? Or do I just not understand it?

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 19, 2009, 17:53 UTC
Message-ID
<vpqljlfsn9l.fsf@bauges.imag.fr>
In-Reply-To
<7v1vn7wvce.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> So I wounld't be surprised if there were bugs lurking around "-t" family.
> Patches to fix them are welcome; people's scripts depend on them.

In the particular case of -t, as far as my grep can tell, it's untested, not used in Git itself, and rather unlikely to be used elsewhere given it's strange behavior.

I'd say the best thing to to is to keep it, but mark it as deprecated in the doc, and point to 'diff --name-status' and 'status' as superior alternatives in the doc.

-- 
Matthieu
Previous: Junio C Hamano
Message 7 of 7 in “ls-files -t broken? Or do I just not understand it?”
  1. Björn SteinbrinkAug 19, 2009
  2. Matthieu MoyAug 19, 2009
  3. Nguyen Thai Ngoc DuyAug 19, 2009
  4. Björn SteinbrinkAug 19, 2009
  5. Nguyen Thai Ngoc DuyAug 19, 2009
  6. Junio C HamanoAug 19, 2009
  7. Matthieu MoyAug 19, 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.