summaryrefslogtreecommitdiff
path: root/etc/git
Commit message (Expand)AuthorAgeFilesLines
* etc: gitconfig: Do not enforced signed commits.•••This change was more invasive than initially thought, and cannot be disabled easily, as raised by a few people. Let's revert it for now. At least the pre-push hook should be deployed automatically and catch any unsigned commits attempted to be pushed to Savannah. * etc/git/gitconfig [commit]: Remove section. Maxim Cournoyer2023-05-181-3/+0
* Makefile.am: Auto-configure Git on 'make'.•••This means we do not need to worry anymore about manually syncing the pre-push git hook or the Guix-provided git configuration. * etc/git/gitconfig: Augment configuration template with useful options to allow for auto-configuration. * Makefile.am (.git/hooks/pre-push, .git/config): New targets. (nodist_noinst_DATA): New primary variable holding the above targets. Maxim Cournoyer2023-05-011-0/+16
* Add git configuration templates to improve diff hunk header detection.•••This is a follow-up to commit 9fc8ae4171e5da4939a64fc6d684c8b9d85bbe84, which missed two hunks from <https://issues.guix.gnu.org/50363>. Reported by hackeryarn on #guix. * .gitattributes, etc/git/gitconfig: New files. Signed-off-by: Marius Bakke <marius@gnu.org> Sarah Morgensen2021-10-141-0/+5
* maint: Only run `make authenticate` when pushing commits.•••* etc/git/pre-push: Exit early when deleting a branch. Leo Famulari2020-12-141-10/+23
* maint: Adjust comment in 'pre-push' hook.•••* etc/git/pre-push: Adjust comment. Ludovic Courtès2020-06-011-1/+3
* maint: Git pre-push hook runs "make authenticate check-channel-news".•••* etc/git/pre-push: Change to run "make authenticate check-channel-news". Ludovic Courtès2020-05-291-44/+5
* etc: The pre-push hook says which commits failed the signature check.•••* etc/git/pre-push: Check each commit's signature individually so that we can report which commits fail the check. Leo Famulari2017-02-081-5/+17
* doc: Add a Git hook that verifies signatures before pushing.•••* HACKING (Commit Access): Describe the pre-push Git hook. * etc/git/pre-push: New file. Leo Famulari2017-01-041-0/+57