coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] maint: fix alphabetical order in .gitignore


From: Bernhard Voelker
Subject: Re: [PATCH] maint: fix alphabetical order in .gitignore
Date: Wed, 02 Jan 2013 14:29:16 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/02/2013 02:15 PM, Pádraig Brady wrote:
> On 01/02/2013 01:09 PM, Bernhard Voelker wrote:
>> From 4e475a01304fabf2a361a5d11328683615e7b228 Mon Sep 17 00:00:00 2001
>> From: Bernhard Voelker <address@hidden>
>> Date: Wed, 2 Jan 2013 14:06:20 +0100
>> Subject: [PATCH] maint: fix alphabetical order in .gitignore
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: 8bit
>>
>> Since commit v8.20-67-g0f525b6, .gitignore sometimes
>> showed up as changed because the entries "*.gcda" and
>> "*.gcno" had not been in alphabetical order.
>>
>> * .gitignore: Exchange the entries "*.gcda" and "*.gcno".
>> * cfg.mk (sc_prohibit_unsorted_gitignore): Add new rule to
>> enforce the alphabetical order in .gitignore.
>>
>> Improved-by: Pádraig Brady
>> ---
>>   .gitignore |    2 +-
>>   cfg.mk     |    8 ++++++++
>>   2 files changed, 9 insertions(+), 1 deletions(-)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 67f428c..f0d6d87 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -1,8 +1,8 @@
>>   *.I[12]
>>   *.[EIOX]
>>   *.bak
>> -*.gcno
>>   *.gcda
>> +*.gcno
>>   *.o
>>   */.deps/
>>   *~
> 
> We should push the above to coreutils separately.

Ok, I'll push the initial version of the patch then.

>> +sc_prohibit_unsorted_gitignore:

> The part above is probably best in gnulib/top/maint.mk
> since that's where the sorted insertion is coming from.
> Note LC_ALL is set to C in maint.mk already.
> I'll push a patch in your name to gnulib soon.

Great, thanks.

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]