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

Re: What's cooking in git.git (Feb 2015, #06; Sun, 22)

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 23, 2015, 19:00 UTC
Message-ID
<xmqqk2z8tpve.fsf@gitster.dls.corp.google.com>
In-Reply-To
<54EB30F0.4010404@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 6 quoted lines
> status, status -s and the like are in an ordinary user's tool box.
> ls-files isn't, at least not with "-t", which we even mark as deprecated.
>
> That makes me wonder, though, how difficult it would be to
> wt_status_collect_unchanged() and to leverage the status machinery
> rather than ls-files.

Good point. wt-status feels like a much better infrastructure to build on than "ls-files -t", which should die ;-). Especially if the command is interested in showing the state of the working tree files relative to the tree of HEAD, as "ls-files" is purely between the index and the working tree.

Previous: Michael J GruberNext: Jeff King
Message 3 of 5 in “What's cooking in git.git (Feb 2015, #06; Sun, 22)”
  1. Junio C HamanoFeb 22, 2015
  2. Michael J GruberFeb 23, 2015
  3. Junio C HamanoFeb 23, 2015
  4. Jeff KingFeb 23, 2015
  5. Duy NguyenFeb 25, 2015

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.