diff options
| author | Jason Gross | 2018-01-16 08:31:08 -0500 |
|---|---|---|
| committer | Gaƫtan Gilbert | 2018-02-08 17:15:02 +0100 |
| commit | d31777adb88eb5ba54f68ac7a4cb7a2a29c1fc20 (patch) | |
| tree | dcf16936a2c05dc89a65c0f4632152b4d4523035 /plugins/syntax/r_syntax_plugin.mlpack | |
| parent | 95ee1fe61d3623b2d07f1806520de591536976f2 (diff) | |
Auto-create .git/hooks/pre-commit on ./configure
The hook created checks to see if dev/tools/pre-commit exists, and, if
so, runs it. This way, we don't have to do any fancy logic to update
the git pre-commit hook. The configure script never overwrites an
existing precommit hook, so users can disable it by creating an empty
pre-commit hook.
The check for existence is so that if users check out an old version of
Coq, attempting to commit won't give an error about non-existent files.
Diffstat (limited to 'plugins/syntax/r_syntax_plugin.mlpack')
0 files changed, 0 insertions, 0 deletions
