Skip to content

Commit 850bc56

Browse files
johnkeepinggitster
authored andcommitted
git-fast-import(1): remove duplicate '--done' option
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3266de1 commit 850bc56

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Documentation/git-fast-import.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ OPTIONS
3838
See ``Date Formats'' below for details about which formats
3939
are supported, and their syntax.
4040

41-
-- done::
42-
Terminate with error if there is no 'done' command at the
43-
end of the stream.
44-
4541
--force::
4642
Force updating modified existing branches, even if doing
4743
so would cause commits to be lost (as the new commit does
@@ -106,7 +102,8 @@ OPTIONS
106102
The default behaviour is to write to `stdout`.
107103

108104
--done::
109-
Require a `done` command at the end of the stream.
105+
Terminate with error if there is no `done` command at the
106+
end of the stream.
110107
This option might be useful for detecting errors that
111108
cause the frontend to terminate before it has started to
112109
write a stream.

0 commit comments

Comments
 (0)