use_git_pre_commit_script {packager} | R Documentation |
Use a Script as git pre-commit hook
Description
Provide a pre-commit.d/ in ./git/hooks, a pre-commit hook that executes scripts from that directory and copy the script_file there.
Usage
use_git_pre_commit_script(path, script_file)
Arguments
path |
Path to the package directory (see
|
script_file |
A path to a script file. |
Details
This might work only for proper git, not for packages like gert or git2r.
See Also
Other infrastructure functions:
use_git_check_version_not_tagged()
[Package packager version 1.15.3 Index]