aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/git-hooks/post-commit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Use a Bourne shell-compatible form for command substitutionJim Porter2023-05-041-1/+1
| | | | | * build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Use `` instead of $().
* ; Allow spaces in directory names for Git hooksJim Porter2023-05-041-1/+1
| | | | | * build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Quote "$HOOKS_DIR" to allow spaces.
* ; Fix post-commit and pre-push hooks in worktrees againJim Porter2023-05-041-1/+3
| | | | | | * build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Use "$(dirname $0)" to get the hooks directory.
* ; Use $GIT_DIR to find the .git directory inside our hooksJim Porter2023-05-011-1/+1
| | | | | | | | This resolves an issue with running the hooks from a worktree. See <https://lists.gnu.org/archive/html/emacs-devel/2023-05/msg00000.html>. * build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Use $GIT_DIR.
* Add Git hooks to check filenames listed in the commit messageJim Porter2023-04-201-0/+45
See <https://lists.gnu.org/archive/html/emacs-devel/2023-04/msg00274.html>. * build-aux/git-hooks/commit-msg-files.awk: * build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: New files... * autogen.sh: ... add them.