Skip to content

Commit

Permalink
git-commit doc: remove duplicated --dry-run description
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Sep 13, 2009
1 parent eaf1c94 commit 12efe45
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>]
[--allow-empty] [--no-verify] [-e] [--author=<author>]
[--cleanup=<mode>] [--] [[-i | -o ]<file>...]

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

--dry-run::
Do not actually make a commit, but show the list of paths
with updates in the index, paths with changes in the work tree,
and paths that are untracked, similar to the one that is given
in the commit log editor.

-F <file>::
--file=<file>::
Take the commit message from the given file. Use '-' to
Expand Down

0 comments on commit 12efe45

Please sign in to comment.