aboutsummaryrefslogtreecommitdiff
path: root/etc/git
Commit message (Collapse)AuthorAge
* gitconfig: b4: Automatically add 'Signed-off-by' when applying patches.Maxim Cournoyer2024-01-24
| | | | | | | | Also use --3way to ease conflict resolutions. * etc/git/gitconfig [b4]: Add shazam-am-flags option. Change-Id: I6a92909a5b23a8680c16251aafa084b9a48944ea
* doc: Add some guidelines for reviewing.Maxim Cournoyer2023-11-07
| | | | | | | | | | | * doc/contributing.texi (Contributing) [Reviewing the Work of Others]: New section. (Debbugs Usertags): Expound with Emacs Debbugs information and document the 'reviewed-looks-good' usertag. * etc/git/gitconfig [b4]: New section. Change-Id: I56630b15ec4fbc5c67e5420dbf2838556a005d6b Reviewed-by: Ludovic Courtès <ludo@gnu.org>
* build: Add a commit-msg hook that embeds Change-Id in commit messages.Maxim Cournoyer2023-10-22
| | | | | | | | | | | | | | | | | | Partially implements <https://issues.guix.gnu.org/66027>. This will make it possible to track a merged commit back to its original posting on the mailing list, and open the door to new opportunities such as closing fully merged series automatically. * Makefile.am (COMMIT_MSG_MAGIC): New variable. (.git/hooks/commit-msg): New target. * etc/git/commit-msg: New file. * doc/contributing.texi (Configuring Git): Document Change-Id. Series-changes: 3 - Clarify documentation text, as suggested by Simon Change-Id: Ia92fa958eae600fdd4e180bad494c85db8bb4dd6 Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
* etc: gitconfig: Do not enforced signed commits.Maxim Cournoyer2023-05-18
| | | | | | | | | 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.
* Makefile.am: Auto-configure Git on 'make'.Maxim Cournoyer2023-05-01
| | | | | | | | | | 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.
* Add git configuration templates to improve diff hunk header detection.Sarah Morgensen2021-10-14
| | | | | | | | | | | 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>
* maint: Only run `make authenticate` when pushing commits.Leo Famulari2020-12-14
| | | | * etc/git/pre-push: Exit early when deleting a branch.
* maint: Adjust comment in 'pre-push' hook.Ludovic Courtès2020-06-01
| | | | * etc/git/pre-push: Adjust comment.
* maint: Git pre-push hook runs "make authenticate check-channel-news".Ludovic Courtès2020-05-29
| | | | * etc/git/pre-push: Change to run "make authenticate check-channel-news".
* etc: The pre-push hook says which commits failed the signature check.Leo Famulari2017-02-08
| | | | | * etc/git/pre-push: Check each commit's signature individually so that we can report which commits fail the check.
* doc: Add a Git hook that verifies signatures before pushing.Leo Famulari2017-01-04
* HACKING (Commit Access): Describe the pre-push Git hook. * etc/git/pre-push: New file.