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

Re: [PATCH] ls-tree matching multiple paths

From
Junio C Hamano <junkio@cox.net>
Date
May 26, 2005, 18:06 UTC
Message-ID
<7v4qcpdfpe.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vacmhdgct.fsf@assigned-by-dhcp.cox.net>
>>>>> "JCH" == Junio C Hamano <junkio@cox.net> writes:

JCH> +040000 tree X path2/baz JCH> +100644 blob X path2/baz/b

Side note. Linus, don't you think it would make more sense to change the column separator befor type and SHA1 from TAB to SP? We should keep the one before the path to TAB for easier splitting with cut (which defaults to a TAB). This comes from the same reasoning as the latest diff-raw format design we did.

While we are at it, we may want to do the same to ls-files, which does not use TAB for inter_name_termination (it uses SP for everything).

Previous: Junio C Hamano
Message 6 of 6 in “ls-tree matching a prefix”
  1. ls-tree matching a prefixJason McMullan, May 26, 2005
  2. Junio C HamanoMay 26, 2005
  3. McMullan, JasonMay 26, 2005
  4. Jason McMullanMay 26, 2005
  5. ls-tree matching multiple pathsJunio C Hamano, May 26, 2005
  6. Junio C HamanoMay 26, 2005

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.