[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gitignore: Move ignores from global to subdirectories



On 01.09.2020 00:55, Elliott Mitchell wrote:
> On Mon, Aug 31, 2020 at 08:52:45AM +0200, Jan Beulich wrote:
>> On 31.08.2020 08:37, Elliott Mitchell wrote:
>>> Preferences in sorting?
>>
>> Alphabetical sorting is what we generally aim for here.
> 
> Going into specific example since those best demonstrate what I
> observed.
> 
> Before this patch the top-level .gitignore included the lines:
> @@
> -tools/misc/cpuperf/cpuperf-perfcntr
> -tools/misc/cpuperf/cpuperf-xen
> -tools/misc/xc_shadow
> -tools/misc/xen_cpuperf
> -tools/misc/xen-cpuid
> @@
> -xen/xsm/flask/policy.*
> -xen/xsm/flask/xenpolicy-*
>  tools/flask/policy/policy.conf
>  tools/flask/policy/xenpolicy-*
>  xen/xen
> @@
> 
> tools/misc/.gitignore had the single line:
> xen-ucode
> 
> xen/xsm/flask/.gitignore had the single line:
> /policy.c
> 
> 
> You'll note from the second batch, .gitignore isn't consistently sorted.

I'm aware, and hence I said "aim for". In cases like this what we
often do is adjust things incrementally, as lines get touched anyway.
Of course if you want to clean it up all in one go ...

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.