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

Re: [PATCH 0/3] Bringing git-ls-files to porcelain level

From
KCKan-Ru Chen <kanru@kanru.info>
Date
Nov 1, 2010, 10:30 UTC
Message-ID
<87zkttqqse.fsf@anar.kanru.info>
In-Reply-To
<1262884076-12293-1-git-send-email-pclouds@gmail.com>
Hi,
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> This is a hack, to scratch my itch. These patches add "git ls",
> which is equivalent to "git ls-files --max-depth 1|column"
What is the status of this patch?

I found it might be useful for zsh completion codes. Currently zsh _git completion relies heavily on ls-files and can be very slow on large repository like linux kernel.

If ls-files supports --max-depth then zsh can do incremental completion. (hopefully)

  kanru
-- 
“A badly written book is only a blunder. A bad
 translation of a good book is a crime.” -- Gilbert Highet
Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 12 of 13 in “Bringing git-ls-files to porcelain level”
  1. 0/3 Bringing git-ls-files to porcelain levelNguyễn Thái Ngọc Duy, Jan 7, 2010
  2. 1/3 ls-files: support --max-depthNguyễn Thái Ngọc Duy, Jan 7, 2010
  3. 2/3 ls-files: support -o --max-depth (more of a hack as fill_directory should support this)Nguyễn Thái Ngọc Duy, Jan 7, 2010
  4. Junio C HamanoJan 7, 2010
  5. 3/3 Add "ls", which is basically ls-files with user-friendly settingsNguyễn Thái Ngọc Duy, Jan 7, 2010
  6. Junio C HamanoJan 7, 2010
  7. Nguyen Thai Ngoc DuyJan 7, 2010
  8. Nguyen Thai Ngoc DuyJan 8, 2010
  9. Matthieu MoyJan 7, 2010
  10. Matthieu MoyJan 7, 2010
  11. Nguyen Thai Ngoc DuyJan 7, 2010
  12. Kan-Ru ChenNov 1, 2010
  13. Nguyen Thai Ngoc DuyNov 1, 2010

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.