This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: git: remote: *** The first line of a commit message should be a short description of the change, not a single word.
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: GCC Development <gcc at gcc dot gnu dot org>, Joseph Myers <joseph at codesourcery dot com>
- Date: Tue, 21 Jan 2020 16:14:08 +0000
- Subject: Re: git: remote: *** The first line of a commit message should be a short description of the change, not a single word.
- References: <ca530e15-5157-3f17-9c97-10d99a63a193@suse.cz>
On Tue, 21 Jan 2020 at 16:03, Martin Liška <mliska@suse.cz> wrote:
>
> Can you please remove the hook for user branches likes:
>
> $ git push origin me/filter-non-common
> Enumerating objects: 27, done.
> Counting objects: 100% (27/27), done.
> Delta compression using up to 16 threads
> Compressing objects: 100% (14/14), done.
> Writing objects: 100% (14/14), 1.77 KiB | 1.77 MiB/s, done.
> Total 14 (delta 13), reused 0 (delta 0)
> remote: *** The first line of a commit message should be a short description of the change, not a single word.
> remote: error: hook declined to update refs/users/marxin/heads/filter-non-common
> To git+ssh://gcc.gnu.org/git/gcc.git
> ! [remote rejected] me/filter-non-common -> refs/users/marxin/heads/filter-non-common (hook declined)
> error: failed to push some refs to 'git+ssh://gcc.gnu.org/git/gcc.git'
Requiring slightly better messages than just a single word doesn't
seem to restrictive to me, even on user branches.