Re: [PATCH 09/10] mceliece6688128f: update generation script to apply changes as patch set

Werner Koch via Gcrypt-devel <[email protected]> Thu, 02 Oct 2025 09:58:33 +0200
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
On Wed,  1 Oct 2025 18:57, Jussi Kivilinna said:

> space character. Empty unedited lines are represented by lines with
> single space character. Pre-commit hook detects these as text files
> with single space lines and rejects commit. Either hook would need to

This explains the oddities I sometimes see.  The Gpg4win build system
uses lots of patches but almost always the patches are manually edited
to include a

  #! /bin/sh
  patch -p1 -l -f $* < $0
  exit $?

header.  The -l takes care of the trailing white space which the editor
removed.  With the removed traling spaces it is no problem to commit
these files.


Salam-Shalom,

   Werner


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
openpgp-digital-signature.asc (application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaN4wqRsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQehfsAPwL
2XIDVux1HPL+w1b5HWsO/jod0/981GZ//jShhY15bwEA2r8cP88Ios6DV69ie8GB
1zZ9RnnRNSS+PGmdjcE/ggM=
=IcEv
-----END PGP SIGNATURE-----