Skip to contentSkip to conversation

Document git-ls-files --directory

PATCH New Petr Baudis 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Document git-ls-files --directory

Add the appropriate bit of documentation.

I did not review GIT patches for missing documentation updates during Christmas and around the New Year, but I guess that I will have to start again. ;-)

---

 Documentation/git-ls-files.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Documentation/git-ls-files.txt +4 -0
index e42af5e..e433407 100644
@@ -46,6 +46,10 @@ OPTIONS
 -s|--stage::
 	Show stage files in the output
 
+--directory::
+	If a whole directory is classified as "other", show just its
+	name (with a trailing slash) and not its whole contents.
+
 -u|--unmerged::
 	Show unmerged files in the output (forces --stage)