fast-import: document the --done option

Acked-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Eric S. Raymond 2012-08-22 06:57:05 -04:00 committed by Junio C Hamano
parent be56862f19
commit 3266de1074

View File

@ -38,6 +38,10 @@ OPTIONS
See ``Date Formats'' below for details about which formats See ``Date Formats'' below for details about which formats
are supported, and their syntax. are supported, and their syntax.
-- done::
Terminate with error if there is no 'done' command at the
end of the stream.
--force:: --force::
Force updating modified existing branches, even if doing Force updating modified existing branches, even if doing
so would cause commits to be lost (as the new commit does so would cause commits to be lost (as the new commit does
@ -1030,7 +1034,9 @@ done::
Error out if the stream ends without a 'done' command. Error out if the stream ends without a 'done' command.
Without this feature, errors causing the frontend to end Without this feature, errors causing the frontend to end
abruptly at a convenient point in the stream can go abruptly at a convenient point in the stream can go
undetected. undetected. This may occur, for example, if an import
front end dies in mid-operation without emitting SIGTERM
or SIGKILL at its subordinate git fast-import instance.
`option` `option`
~~~~~~~~ ~~~~~~~~