threads / patch / 30528

patchDocumentation: have ls-files and ls-tree "see also" each other

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

## tl;dr

One message between May 14, 2012 and May 14, 2012. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Matthew Ogilvie· May 14, 2012, 03:28 UTC · lore

I wanted this pointer 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.

Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net>
---
 Documentation/git-ls-files.txt |    2 +-
 Documentation/git-ls-tree.txt  |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
Show changes to 2 files +5 −1

Documentation/git-ls-files.txt, Documentation/git-ls-tree.txt

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
-- 
1.7.5.rc1

← back to recent threads