Skip to content

Commit

Permalink
Add parser arguments for prepare-commit-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Whitaker committed May 29, 2022
1 parent 2e5b01d commit 4866896
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pre_commit/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
'--commit-msg-filename',
help='Filename to check when running during `commit-msg`',
)
parser.add_argument(
'--commit-msg',
help=(
'Type of commit string to pass though as ENV' +
'during `prepare-commit-msg`'
),
)
parser.add_argument(
'--commit-sha',
help='Commit sha to pass though as ENV during `prepare-commit-msg`',
)
parser.add_argument(
'--remote-name', help='Remote name used by `git push`.',
)
Expand Down

0 comments on commit 4866896

Please sign in to comment.