summaryrefslogtreecommitdiff
path: root/build-aux/git-hooks/post-commit
AgeCommit message (Collapse)Author
2026-01-01; Add 2026 to copyright years.Sean Whitton
2025-01-01Update copyright year to 2025Paul Eggert
Run "TZ=UTC0 admin/update-copyright".
2024-01-02; Add 2024 to copyright yearsPo Lu
2023-05-04; Use a Bourne shell-compatible form for command substitutionJim Porter
* build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Use `` instead of $().
2023-05-04; Allow spaces in directory names for Git hooksJim Porter
* build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Quote "$HOOKS_DIR" to allow spaces.
2023-05-04; Fix post-commit and pre-push hooks in worktrees againJim Porter
* build-aux/git-hooks/post-commit: * build-aux/git-hooks/pre-push: Use "$(dirname $0)" to get the hooks directory.
2023-05-01; Use $GIT_DIR to find the .git directory inside our hooksJim Porter
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.
2023-04-20Add Git hooks to check filenames listed in the commit messageJim Porter
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.