You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a hook that makes sure that the commit has a longer body describing the changes in detail but only when more than 30 lines are changed across 3 or more files.
Would it be possible for modified_files to work the same way as it does in PreCommit hook?
EDIT: I think I would need modified_lines_in_file as well for this.
The text was updated successfully, but these errors were encountered:
Quintasan
changed the title
modified_files on CommitMsgmodified_files and modified_lines_in_file on CommitMsg
Sep 14, 2020
I want to create a hook that makes sure that the commit has a longer body describing the changes in detail but only when more than 30 lines are changed across 3 or more files.
Would it be possible for
modified_files
to work the same way as it does in PreCommit hook?EDIT: I think I would need
modified_lines_in_file
as well for this.The text was updated successfully, but these errors were encountered: