[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically checking commit messages
From: |
Marius Bakke |
Subject: |
Re: Automatically checking commit messages |
Date: |
Thu, 21 Sep 2017 20:59:12 +0200 |
User-agent: |
Notmuch/0.25.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) |
Vincent Legoll <address@hidden> writes:
> Hello
>
> On Wed, Sep 20, 2017 at 5:47 PM, Arun Isaac <address@hidden> wrote:
>> I have been working on a guile script to automatically check commit
>> messages -- something like `guix lint' but for commit messages instead
>> of package definitions. This could help us enforce our commit message
>> guidelines and avoid screw-ups like the one I did in commit
>> 1ee879e96705e6381c056358b7f426f2cf99c1df. I believe more automation is
>> essential and would help us scale better if/when we have more people
>> with commit access.
>
> This is a good idea, and it would be even better if that same thing
> could be used to generate a commit message with all the automatable
> pieces pre-filled, with only the human parts left to the user.
FWIW 'magit' can already fill out file names and variables by navigating
to the hunks in the diff buffer and pressing 'C'.
signature.asc
Description: PGP signature