mirror of
https://github.com/git/git.git
synced 2026-01-09 17:46:37 +00:00
fast-export: --signed-commits is experimental
As the design of signature handling is still being discussed, it is likely that the data stream produced by the code in Git 2.50 would have to be changed in such a way that is not backward compatible. Mark the feature as experimental and discourge its use for now. Also flip the default on the generation side to "strip"; users of existing versions would not have passed --signed-commits=strip and will be broken by this change if the default is made to abort, and will be encouraged by the error message to produce data stream with future breakage guarantees by passing --signed-commits option. As we tone down the default behaviour, we no longer need the FAST_EXPORT_SIGNED_COMMITS_NOABORT environment variable, which was not discoverable enough. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@@ -46,14 +46,12 @@ resulting tag will have an invalid signature.
|
||||
|
||||
--signed-commits=(verbatim|warn-verbatim|warn-strip|strip|abort)::
|
||||
Specify how to handle signed commits. Behaves exactly as
|
||||
'--signed-tags', but for commits. Default is 'abort'.
|
||||
'--signed-tags', but for commits. Default is 'strip', which
|
||||
is the same as how earlier versions of this command without
|
||||
this option behaved.
|
||||
+
|
||||
Earlier versions this command that did not have '--signed-commits'
|
||||
behaved as if '--signed-commits=strip'. As an escape hatch for users
|
||||
of tools that call 'git fast-export' but do not yet support
|
||||
'--signed-commits', you may set the environment variable
|
||||
'FAST_EXPORT_SIGNED_COMMITS_NOABORT=1' in order to change the default
|
||||
from 'abort' to 'warn-strip'.
|
||||
NOTE: This is highly experimental and the format of the data stream may
|
||||
change in the future without compatibility guarantees.
|
||||
|
||||
--tag-of-filtered-object=(abort|drop|rewrite)::
|
||||
Specify how to handle tags whose tagged object is filtered out.
|
||||
|
||||
Reference in New Issue
Block a user