Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Sep 16, 2011
  1. Lion compability.

    Daniel Eriksson authored
Commits on Sep 6, 2011
  1. Change my mind on the previous commit making the new default .githooks

    authored
    not .hooks to match other .git* files/directories.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Commits on Sep 1, 2011
  1. Fix OS X sort -V breakage

    authored
    The -V option to sort is not include in OS X's sort so special case OS
    X.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  2. Include the directory .hooks inside the repository as one of the dire…

    authored
    …ctories that are searched.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Commits on Jun 20, 2010
  1. Revert "Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that…

    authored
    … exit with non-zero, but don't output an error"
    
    This reverts commit 536997d.
Commits on Jun 19, 2010
  1. When listing hooks don't change the cwd, just use the GITDIR variable

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  2. When listing the hook_dirs use GITDIR for the project hooks

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  3. When listing hooks use GITDIR and pipe stderr to dev/null

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  4. If the hooks are installed or not is important, put it on its own lin…

    authored
    …e in the output
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  5. Allow git config path to contain $HOME or other shell variables by ex…

    authored
    …panding them with eval.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  6. When listing hooks, the dir should always be a dir, so add / to the e…

    authored
    …nd of the dir. This allows the dir to be a symlink.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  7. Tweak introduction sentance to the project to include the three types…

    authored
    … of hooks.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  8. When a hook returns with non-zero report which hook last ran before e…

    authored
    …xiting
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  9. Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that exit wi…

    authored
    …th non-zero, but don't output an error
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  10. Use rev-parse --git-dir to determine the location of the GITDIR.

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  11. Show explicity how to set the global hooks with the contrib directory…

    authored
    … as an example.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  12. Try to clarify some sections of the README file to make it easier to see

    authored
    what the project does right off the bat and how to get it working.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  13. Only set the hook variable when an argument is passed to hook_dirs, o…

    authored
    …therwise 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>
  14. When printing the status claify that git-hooks is not installed in th…

    authored
    …e current repository, not in general.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  15. Change license of all code from the 4 clause license to the 3 clause …

    authored
    …license
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Commits on Mar 20, 2010
  1. Remove variable the is no longer used

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  2. Verify that all required arguments are passed in and return with an

    authored
    error if they are not.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Commits on Mar 19, 2010
  1. Add the most important two hooks to the example list

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  2. Write up correct documentation for when git hooks --help is called.

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  3. Only echo the name of the script and hook if GIT_HOOKS_VERBOSE is set.

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  4. Display both the hook name and script name

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  5. Rather than using an environment variable just use the configuration

    authored
    option hooks.global.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  6. Add a link to the official documentation in the README

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  7. Add a pre-receive hook that checks the amount of free space and warns…

    authored
    … if it is too low.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Commits on Mar 17, 2010
  1. Add a new commit-msg hook that checks for duplicate Signed-off-by lines

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  2. Go through the README file and clarify portions of it.

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  3. Add a section to the README describing how to create hooks

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  4. Add a new pre-commit hook that checks for the current year in the cop…

    authored
    …yright.
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  5. Add a commit-msg hook that checks that all commits have the Signed-of…

    authored
    …f-by line
    
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
  6. Add a commit-msg hook that spell checks the commit message.

    authored
    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
Something went wrong with that request. Please try again.