mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-18 06:55:25 -06:00
Expose prepare-commit-msg arguments as environment vars
This commit is contained in:
committed by
Anthony Sottile
parent
44cb80f74a
commit
702ebf402c
@@ -76,6 +76,8 @@ def run_opts(
|
||||
hook_stage='commit',
|
||||
show_diff_on_failure=False,
|
||||
commit_msg_filename='',
|
||||
prepare_commit_message_source='',
|
||||
commit_object_name='',
|
||||
checkout_type='',
|
||||
is_squash_merge='',
|
||||
rewrite_command='',
|
||||
@@ -97,6 +99,8 @@ def run_opts(
|
||||
hook_stage=hook_stage,
|
||||
show_diff_on_failure=show_diff_on_failure,
|
||||
commit_msg_filename=commit_msg_filename,
|
||||
prepare_commit_message_source=prepare_commit_message_source,
|
||||
commit_object_name=commit_object_name,
|
||||
checkout_type=checkout_type,
|
||||
is_squash_merge=is_squash_merge,
|
||||
rewrite_command=rewrite_command,
|
||||
|
||||
Reference in New Issue
Block a user