@matheusbsbs / matheus-bagliano / commits / 12efe45a33
Fork 0

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 <gitster@pobox.com>

Junio C Hamano committed Sep 13, 2009 at 11:23 UTC 12efe45a3363ebecd8954d04caadb23eba2e5020
1 file changed +1 -7
Documentation/git-commit.txt
+1 -7
@@ -9,7 +9,7 @@ SYNOPSIS
9 --------
10 [verse]
11 '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>]
13 [--allow-empty] [--no-verify] [-e] [--author=<author>]
14 [--cleanup=<mode>] [--] [[-i | -o ]<file>...]
15
@@ -69,12 +69,6 @@ OPTIONS
69 Like '-C', but with '-c' the editor is invoked, so that
70 the user can further edit the commit message.
71
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 -
72 -F <file>::
73 --file=<file>::
74 Take the commit message from the given file. Use '-' to