Documentation: improve git ls-files -s manpage entry
PATCH 1/1 Documentation: improve git ls-files -s manpage entry
List the fields in order of appearance in the command output.
--- Documentation/git-ls-files.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/git-ls-files.txt +2 -1
@@ -57,7 +57,8 @@ OPTIONS -s:: --stage:: - Show staged contents' object name, mode bits and stage number in the output. + Show staged contents' mode bits, hash, stage number as well as the + object name in the output. --directory:: If a whole directory is classified as "other", show just its
Signature · 1 line
2.9.3
Quoted 12 lines · Mostyn Bramley-Moore
List the fields in order of appearance in the command output.
Signed-off-by Mostyn Bramley-Moore <[email protected]>--- Documentation/git-ls-files.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/git-ls-files.txt +0
-0
Documentation/git-ls-files.txt OPTIONS · line 61
Quoted 6 lines
Documentation/git-ls-files.txt +2
-1@@ -57,7 +57,8 @@ OPTIONS -s:: --stage:: - Show staged contents' object name, mode bits and stage number in the output. + Show staged contents' mode bits, hash, stage number as well as the + object name in the output.
This is not an improvement, as the word "hash" is merely a colloquial way to say what is officially known as "object name".
If the patch were only to swap "mode bits" and "object name" without doing anything else, it may have been an improvement, though. It is implied that the path the output line talks about is shown, and that is why we do not say "mode bits, object name, stage number and the pathname".
Quoted 3 lines
Documentation/git-ls-files.txt +0
-0--directory:: If a whole directory is classified as "other", show just its
PATCH v2 1/1 Documentation: improve git ls-files -s manpage entry
List the fields in order of appearance in the command output.
--- Documentation/git-ls-files.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-ls-files.txt +1 -1
@@ -57,7 +57,7 @@ OPTIONS -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
Signature · 1 line
2.9.3
Thanks.