Skip to content

Commit

Permalink
git-fast-import(1): remove duplicate '--done' option
Browse files Browse the repository at this point in the history
The '--done' option to git-fast-import is documented twice in its manual
page.  Combine the best bits of each description, keeping the location
of the instance that was added first.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
John Keeping authored and Junio C Hamano committed Jan 8, 2013
1 parent 3266de1 commit 850bc56
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Documentation/git-fast-import.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ OPTIONS
See ``Date Formats'' below for details about which formats
are supported, and their syntax.

-- done::
Terminate with error if there is no 'done' command at the
end of the stream.

--force::
Force updating modified existing branches, even if doing
so would cause commits to be lost (as the new commit does
Expand Down Expand Up @@ -106,7 +102,8 @@ OPTIONS
The default behaviour is to write to `stdout`.

--done::
Require a `done` command at the end of the stream.
Terminate with error if there is no `done` command at the
end of the stream.
This option might be useful for detecting errors that
cause the frontend to terminate before it has started to
write a stream.
Expand Down

0 comments on commit 850bc56

Please sign in to comment.