Merge branch 'mm/ls-files-s-doc'
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 06:29:30 +0000 (23:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 06:29:30 +0000 (23:29 -0700)
Doc update.

* mm/ls-files-s-doc:
Documentation: document elements in "ls-files -s" output in order

1  2 
Documentation/git-ls-files.txt
index 1cab703f73611260845ef5e9926fe377e729b934,521cb876c26d250bb7d47aefb82336d3d79b35b8..d153c17e0660d8ab9edb0b10a53172007d355510
@@@ -57,7 -57,7 +57,7 @@@ OPTION
  
  -s::
  --stage::
-       Show staged contents' object name, mode bits and stage number in the output.
+       Show staged contents' mode bits, object name and stage number in the output.
  
  --directory::
        If a whole directory is classified as "other", show just its
@@@ -77,8 -77,7 +77,8 @@@
        succeed.
  
  -z::
 -      \0 line termination on output.
 +      \0 line termination on output and do not quote filenames.
 +      See OUTPUT below for more information.
  
  -x <pattern>::
  --exclude=<pattern>::
@@@ -197,10 -196,9 +197,10 @@@ the index records up to three such pair
  the user (or the porcelain) to see what should eventually be recorded at the
  path. (see linkgit:git-read-tree[1] for more information on state)
  
 -When `-z` option is not used, TAB, LF, and backslash characters
 -in pathnames are represented as `\t`, `\n`, and `\\`,
 -respectively.
 +Without the `-z` option, pathnames with "unusual" characters are
 +quoted as explained for the configuration variable `core.quotePath`
 +(see linkgit:git-config[1]).  Using `-z` the filename is output
 +verbatim and the line is terminated by a NUL byte.
  
  
  Exclude Patterns