[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 0/4] Trivial patches for 2024-04-02
From: |
Peter Maydell |
Subject: |
Re: [PULL 0/4] Trivial patches for 2024-04-02 |
Date: |
Tue, 2 Apr 2024 16:24:17 +0100 |
On Tue, 2 Apr 2024 at 15:30, Laurent Vivier <laurent@vivier.eu> wrote:
> To post PR I generally use git-publish and I have a hook that checks that.
>
> $ cat .git/hooks/pre-publish-send-email
> !/bin/bash
>
> NAME=$(git config --get user.name)
> EMAIL=$(git config --get user.email)
>
> for PATCH in $1/*.patch; do
> if [ $(basename $PATCH) = "0000-cover-letter.patch" ]; then
> continue
> fi
> if ! grep -q "^Signed-off-by: $NAME <$EMAIL>" $PATCH; then
> echo "Error: Missing sender S-o-B in $PATCH"
> exit 1
> fi
> if grep "^From: " $PATCH | grep -q "<qemu-devel@nongnu.org>" ; then
> echo "Error: Author email address is mangled by the mailing list in
> $PATCH"
> exit 1
> fi
You should check for qemu-.*, not just qemu-devel...
thanks
-- PMM
- [PULL 0/4] Trivial patches for 2024-04-02, Michael Tokarev, 2024/04/02
- [PULL 1/4] usb-audio: Fix invalid values in AudioControl descriptors, Michael Tokarev, 2024/04/02
- [PULL 2/4] fpu/softfloat: Remove mention of TILE-Gx target, Michael Tokarev, 2024/04/02
- [PULL 3/4] Fix some typos in documentation (found by codespell), Michael Tokarev, 2024/04/02
- [PULL 4/4] hmp: Add help information for watchdog action: inject-nmi, Michael Tokarev, 2024/04/02
- Re: [PULL 0/4] Trivial patches for 2024-04-02, Peter Maydell, 2024/04/02