Also moved a paragraph about git-status options from description section, to options section. Which makes it easier to quickly search for git-status options without reading the description, even though the description for options forwards to git-commit manual. Signed-off-by: Väinö Järvelä <v@xxxxxxxxxx> --- Documentation/git-runstatus.txt | 4 +++- Documentation/git-status.txt | 17 ++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Documentation/git-runstatus.txt b/Documentation/git-runstatus.txt index dee5d0d..56af1c1 100644 --- a/Documentation/git-runstatus.txt +++ b/Documentation/git-runstatus.txt @@ -8,7 +8,7 @@ git-runstatus - A helper for git-status and git-commit SYNOPSIS -------- -'git-runstatus' [--color|--nocolor] [--amend] [--verbose] [--untracked] +'git-runstatus' [--color|--nocolor] [--amend] [--verbose] [--untracked] [--only-tracked] DESCRIPTION @@ -47,6 +47,8 @@ OPTIONS option only its name and a trailing slash are displayed for each untracked directory. +--only-tracked: + Hide untracked files from the output. OUTPUT ------ diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt index 8fd0fc6..de9f5ff 100644 --- a/Documentation/git-status.txt +++ b/Documentation/git-status.txt @@ -8,7 +8,7 @@ git-status - Show the working tree status SYNOPSIS -------- -'git-status' <options>... +'git-status' [--only-tracked] <options>... DESCRIPTION ----------- @@ -23,10 +23,6 @@ If there is no path that is different between the index file and the current HEAD commit, the command exits with non-zero status. -The command takes the same set of options as `git-commit`; it -shows what would be committed if the same options are given to -`git-commit`. - If any paths have been touched in the working tree (that is, their modification times have changed) but their contents and permissions are identical to those in the index file, the command @@ -35,6 +31,17 @@ subsequent operations such as `git-diff` if the working tree contains many paths that have been touched but not modified. +OPTIONS +------- +--only-tracked:: + Hide untracked files from the output. + +<options>:: + The command takes the same set of options as `git-commit`; it + shows what would be committed if the same options are given to + `git-commit`. + + OUTPUT ------ The output from this command is designed to be used as a commit -- 1.5.3.rc6.17.g1911-dirty - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html