Subject: Re: Names of the patch files
To: None <>
From: None <>
List: tech-pkg
Date: 04/19/2006 14:21:03
On Wed, Apr 19, 2006 at 11:33:31AM +0200, Roland Illig wrote:
> For this, the set of allowed characters should be extended to 
> [-A-Za-z0-9_]. This would not allow the name "patch-foo.c", but that one 
> could be transformed to "patch-foo_c" (to avoid having patch files with 
> common filename extensions).

Sorry, but this is even worse than the current scheme. Two possible
options are:
(1) Consequently enumerate patches as patch-[a-z][a-z] and consider only
those by defaul. Exceptions are local patches, which can be named
(2) Include the full relative patch of the patches in the name, e.g.
patch-foo::bar.c. Problems remain for patches including ../ etc.
Without the full path, the name of the patched file is worseless. Think
of Makefile patches.

I prefer the first since it is shorter and often faster to write, when
creating patches manually.