Skip to content

Commit 12efe45

Browse files
committed
git-commit doc: remove duplicated --dry-run description
60c2993 (Documentation/git-commit.txt: describe --dry-run, 2009-08-15) wanted to update the documentation to say that "git status" is not the same as "git commit --dry-run" anymore, but it screwed up and also added the description of --dry-run that was already present. Noticed by Johannes Gilger. Signed-off-by: Junio C Hamano <[email protected]>
1 parent eaf1c94 commit 12efe45

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Documentation/git-commit.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
12-
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--dry-run]
12+
[(-c | -C) <commit>] [-F <file> | -m <msg>]
1313
[--allow-empty] [--no-verify] [-e] [--author=<author>]
1414
[--cleanup=<mode>] [--] [[-i | -o ]<file>...]
1515

@@ -69,12 +69,6 @@ OPTIONS
6969
Like '-C', but with '-c' the editor is invoked, so that
7070
the user can further edit the commit message.
7171

72-
--dry-run::
73-
Do not actually make a commit, but show the list of paths
74-
with updates in the index, paths with changes in the work tree,
75-
and paths that are untracked, similar to the one that is given
76-
in the commit log editor.
77-
7872
-F <file>::
7973
--file=<file>::
8074
Take the commit message from the given file. Use '-' to

0 commit comments

Comments
 (0)