Skip to content

Commit 3266de1

Browse files
eric-s-raymondgitster
authored andcommitted
fast-import: document the --done option
Acked-by: Sverre Rabbelier <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent be56862 commit 3266de1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/git-fast-import.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ 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+
4145
--force::
4246
Force updating modified existing branches, even if doing
4347
so would cause commits to be lost (as the new commit does
@@ -1030,7 +1034,9 @@ done::
10301034
Error out if the stream ends without a 'done' command.
10311035
Without this feature, errors causing the frontend to end
10321036
abruptly at a convenient point in the stream can go
1033-
undetected.
1037+
undetected. This may occur, for example, if an import
1038+
front end dies in mid-operation without emitting SIGTERM
1039+
or SIGKILL at its subordinate git fast-import instance.
10341040

10351041
`option`
10361042
~~~~~~~~

0 commit comments

Comments
 (0)