Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-23 | In the event we can't rename hooks we should immediately fail. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2013-10-20 | Fix too many hooks reported in list_hooks_in_dir | Georg Lutz | |
list_hooks_in_dir should report exactly the hooks that would be run with run_hooks. But the find command in list_hooks_in_dir does not limit itself to the scheme "folder_name/hook_name" but recurses infinitely through sub directories reporting all executable files. If your hooks are stored itself in a git repository then consequently also the files in .git/hooks are reported. This change sets the search depth exactly to two, so that the correct scripts are reported, e.g. : ~/.git_hooks/commit-msg/script1 but not e.g. : ~/.git_hook/.git/hooks/commit-msg ~/.git_hooks/script2 ~/.git_hooks/commit-msg/dir2/script3 Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2013-10-20 | Use /usr/bin/env in generated hook scripts | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2013-10-20 | Add support for pre-push commit hook that was added in Git 1.8.2 | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2013-07-22 | Merge pull request #18 from mishanga/patch-1 | Benjamin C Meyer | |
using /usr/bin/env | |||
2013-07-22 | using /usr/bin/env | Mikhail Troshev | |
bash can be placed in /usr/local/bin on FreeBSD | |||
2013-02-06 | Merge pull request #14 from pblack/copyrights_with_entity | Benjamin C Meyer | |
Augmenting the copyright_year check to be able to check that a copyright... | |||
2013-02-01 | Augmenting the copyright_year check to be able to check that a copyright ↵ | Phil Black-Knight | |
exists for a specific entitfy for the current year. | |||
2012-04-09 | Add hook that checks the commit message for hints it should be split. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-02-13 | Merge pull request #10 from arikon/master | Benjamin C Meyer | |
Fix icefox/git-hooks#9: -L arg to find must precede path to find from | |||
2012-02-13 | Fix icefox/git-hooks#9: -L arg to find must precede path to find from | Sergey Belov | |
2012-01-25 | Don't re-install. | Jeremy Dunck | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-25 | When we find hooks also look for symbolic links. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-25 | Add another standard-help-flag | Oluf Lorenzen | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-25 | Remove non-posix shell command flags which is causing problems across OS's. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-25 | Fix whitespace errors introduced by | Benjamin C Meyer | |
7502217953a8e8e5b56f0a531a16cfc14b825e82 Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-25 | Don't turn on set -e until after we test for the presence of aspell. | Benjamin C Meyer | |
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2012-01-24 | Merge pull request #6 from AlekSi/master | Benjamin C Meyer | |
Fix --about for signed-off-by hook | |||
2012-01-24 | Correct the copyright year and add a LICENSE file. | Benjamin C Meyer | |
2011-12-11 | Fix --about for signed-off-by hook. | Alexey Palazhchenko | |
2011-09-16 | Merge pull request #3 from daniel/master | Benjamin C Meyer | |
Lion compability fix | |||
2011-09-16 | Lion compability. | Daniel Eriksson | |
2011-09-05 | Change my mind on the previous commit making the new default .githooks | Benjamin C Meyer | |
not .hooks to match other .git* files/directories. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
2011-09-01 | Fix OS X sort -V breakage | Benjamin C Meyer | |
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> | |||
2011-09-01 | Include the directory .hooks inside the repository as one of the directories ↵ | Benjamin C Meyer | |
that are searched. Signed-off-by: Benjamin C Meyer <ben@meyerhome.net> | |||
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> |