Skip to content
Commits on Sep 16, 2011
  1. Lion compability.

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

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

    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>
    committed Sep 1, 2011
  2. Include the directory .hooks inside the repository as one of the dire…

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    …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>
    committed Jun 19, 2010
  14. When printing the status claify that git-hooks is not installed in th…

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

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

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

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

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

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

    Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
    committed Mar 19, 2010
  4. Display both the hook name and script name

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

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

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

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

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

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

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

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

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

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