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

[PATCH 2/2] ls-tree manpage: output of ls-tree is compatible with update-index

From
Alex Riesen <raa.lkml@gmail.com>
Date
May 10, 2009, 16:14 UTC
Message-ID
<20090510161449.GB26327@blimp.localdomain>
In-Reply-To
<20090510161345.GA26327@blimp.localdomain>

Such format relationships are very useful things to remember for script writers.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 Documentation/git-ls-tree.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index 8292059..c3fdccb 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -84,6 +84,8 @@ Output Format
 
 Unless the `-z` option is used, TAB, LF, and backslash characters
 in pathnames are represented as `\t`, `\n`, and `\\`, respectively.
+This output format is compatible with what '--index-info --stdin' of
+'git update-index' expects.
 
 When the `-l` option is used, format changes to
 
-- 
1.6.3.28.ga852b
Previous: Alex Riesen
Message 2 of 2 in “ls-tree manpage: use "unless" instead of "when ... is not"”
  1. 1/2 ls-tree manpage: use "unless" instead of "when ... is not"Alex Riesen, May 10, 2009
  2. 2/2 ls-tree manpage: output of ls-tree is compatible with update-indexAlex Riesen, May 10, 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.