Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-19 | Revert "Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that exit ↵ | Benjamin C Meyer | |
with non-zero, but don't output an error" This reverts commit 536997d6d30467e2e9e401cca2cf6e7daa499665. | |||
2010-06-19 | When listing hooks don't change the cwd, just use the GITDIR variable | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | When listing the hook_dirs use GITDIR for the project hooks | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | When listing hooks use GITDIR and pipe stderr to dev/null | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | If the hooks are installed or not is important, put it on its own line in ↵ | Benjamin C Meyer | |
the output Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | Allow git config path to contain $HOME or other shell variables by expanding ↵ | Benjamin C Meyer | |
them with eval. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | When listing hooks, the dir should always be a dir, so add / to the end of ↵ | Benjamin C Meyer | |
the dir. This allows the dir to be a symlink. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | Tweak introduction sentance to the project to include the three types of hooks. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | When a hook returns with non-zero report which hook last ran before exiting | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that exit with ↵ | Benjamin C Meyer | |
non-zero, but don't output an error Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | Use rev-parse --git-dir to determine the location of the GITDIR. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-06-19 | Show 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-19 | Try to clarify some sections of the README file to make it easier to see | Benjamin 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-19 | Only 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-19 | When 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-19 | Change license of all code from the 4 clause license to the 3 clause license | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-20 | Remove variable the is no longer used | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-20 | Verify that all required arguments are passed in and return with an | Benjamin C Meyer | |
error if they are not. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Add the most important two hooks to the example list | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Write up correct documentation for when git hooks --help is called. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Only 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-19 | Display both the hook name and script name | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Rather than using an environment variable just use the configuration | Benjamin C Meyer | |
option hooks.global. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Add a link to the official documentation in the README | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-19 | Add 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-17 | Add a new commit-msg hook that checks for duplicate Signed-off-by lines | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Go through the README file and clarify portions of it. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add a section to the README describing how to create hooks | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add 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-17 | Add a commit-msg hook that checks that all commits have the Signed-off-by line | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add a commit-msg hook that spell checks the commit message. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add missing BSD license headers. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add 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-17 | Add a pre-commit hook that checks for whitespace errors | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Add a pre-commit hook that checks bash files for syntax errors | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-17 | Initial 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-16 | Ignore swap files | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2010-03-16 | Initial commit | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> |