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

[PATCH] Documentation: have ls-files and ls-tree "see also" each other

From
MOMatthew Ogilvie <mmogilvi_git@miniinfo.net>
Date
Jun 5, 2012, 05:10 UTC
Message-ID
<1338873037-4343-1-git-send-email-mmogilvi_git@miniinfo.net>
Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net>
---

I could have used these references when I was looking at git-ls-files documentation and trying to figure out how to make it list files from a specific commit like git-ls-tree.

(This is a resend. I sent this patch a couple of weeks ago, but it apparently slipped through the cracks.)

 Documentation/git-ls-files.txt |    2 +-
 Documentation/git-ls-tree.txt  |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 4b28292..8ce3c3b 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -207,7 +207,7 @@ pattern file appears in.
 
 SEE ALSO
 --------
-linkgit:git-read-tree[1], linkgit:gitignore[5]
+linkgit:git-ls-tree[1], linkgit:git-read-tree[1], linkgit:gitignore[5]
 
 GIT
 ---
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index 16e87fd..1cd52cc 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -95,6 +95,10 @@ Object size identified by <object> is given in bytes, and right-justified
 with minimum width of 7 characters.  Object size is given only for blobs
 (file) entries; for other entries `-` character is used in place of size.
 
+SEE ALSO
+--------
+linkgit:git-ls-files[1]
+
 GIT
 ---
 Part of the linkgit:git[1] suite
Next: Junio C Hamano
Message 1 of 4 in “Documentation: have ls-files and ls-tree "see also" each other”
  1. Documentation: have ls-files and ls-tree "see also" each otherMatthew Ogilvie, Jun 5, 2012
  2. Junio C HamanoJun 5, 2012
  3. Matthew OgilvieJun 5, 2012
  4. Junio C HamanoJun 5, 2012

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.