From: Alexandr Miloslavskiy via GitGitGadget Date: Wed, 06 Nov 2019 15:51:17 GMT Subject: [PATCH v2 5/6] doc: commit: unify description Message-ID: <20c4495fd31110c56cca84385bee6d1ab4a6f33e.1573055478.git.gitgitgadget@gmail.com> In-Reply-To: From: Alexandr Miloslavskiy Synchronize it to `git add`, which has a pretty good description. This also better disambiguates ... header. Signed-off-by: Alexandr Miloslavskiy --- Documentation/git-commit.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index afa7b75a23..915c212a0d 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -13,7 +13,7 @@ SYNOPSIS [-F | -m ] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=] [--date=] [--cleanup=] [--[no-]status] - [-i | -o] [-S[]] [--] [...] + [-i | -o] [-S[]] [--] [...] DESCRIPTION ----------- @@ -345,12 +345,14 @@ changes to tracked files. \--:: Do not interpret any more arguments as options. -...:: - When files are given on the command line, the command - commits the contents of the named files, without - recording the changes already staged. The contents of - these files are also staged for the next commit on top - of what have been staged before. +...:: + When pathspec is given on the command line, commit the contents of + the files that match the pathspec without recording the changes + already added to the index. The contents of these files are also + staged for the next commit on top of what have been staged before. ++ +For more details about the syntax, see the 'pathspec' entry +in linkgit:gitglossary[7]. :git-commit: 1 include::date-formats.txt[] -- gitgitgadget