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

Werner Koch wk at gnupg.org
Thu Oct 2 09:58:33 CEST 2025


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20251002/5c727216/attachment.sig>


More information about the Gcrypt-devel mailing list