aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-19Show explicity how to set the global hooks with the contrib directory as an ↵Benjamin C Meyer
example. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-06-19Try to clarify some sections of the README file to make it easier to seeBenjamin C Meyer
what the project does right off the bat and how to get it working. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-06-19Only set the hook variable when an argument is passed to hook_dirs, ↵Benjamin C Meyer
otherwise hook will be '/' and if there is no git config option will result in / being returned as a valid git hook which it is not Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-06-19When printing the status claify that git-hooks is not installed in the ↵Benjamin C Meyer
current repository, not in general. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-06-19Change license of all code from the 4 clause license to the 3 clause licenseBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-20Remove variable the is no longer usedBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-20Verify that all required arguments are passed in and return with anBenjamin C Meyer
error if they are not. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Add the most important two hooks to the example listBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Write up correct documentation for when git hooks --help is called.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Only echo the name of the script and hook if GIT_HOOKS_VERBOSE is set.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Display both the hook name and script nameBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Rather than using an environment variable just use the configurationBenjamin C Meyer
option hooks.global. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Add a link to the official documentation in the READMEBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-19Add a pre-receive hook that checks the amount of free space and warns if it ↵Benjamin C Meyer
is too low. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a new commit-msg hook that checks for duplicate Signed-off-by linesBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Go through the README file and clarify portions of it.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a section to the README describing how to create hooksBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a new pre-commit hook that checks for the current year in the copyright.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a commit-msg hook that checks that all commits have the Signed-off-by lineBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a commit-msg hook that spell checks the commit message.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add missing BSD license headers.Benjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a pre-commit hook that checks for the BSD license. This hook only ↵Benjamin C Meyer
applies to this project. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a pre-commit hook that checks for whitespace errorsBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Add a pre-commit hook that checks bash files for syntax errorsBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-17Initial stab at the git-hooks script that will run user, application, and ↵Benjamin C Meyer
global hooks. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-16Ignore swap filesBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
2010-03-16Initial commitBenjamin C Meyer
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>