[erlang-patches] Properly ignore os_mon and otp_mibs generated includes
Anthony Ramine
n.oxyde@REDACTED
Mon May 20 16:20:35 CEST 2013
Out of curiosity, I just run git status under zsh instead of my usual bash and the files are indeed ignored. So the problem is that your wildcards aren't understood by bash and it doesn't ignore the generated included.
I blame Git and I think the patterns should work everywhere.
Regards,
--
Anthony Ramine
Le 20 mai 2013 à 16:16, Anthony Ramine a écrit :
> I amended my patch to make it fix the wildcards in top-level .gitignore, please refetch.
>
> --
> Anthony Ramine
>
> Le 20 mai 2013 à 16:13, Anthony Ramine a écrit :
>
>> Oh right it isn't a regular expression. But it still doesn't work, if you read the gitignore manpage you can see [A-Z] is not a valid wildcard.
>>
>> The wildcard should be OTP* like the other lines for otp_mibs and os_mon.
>>
>> --
>> Anthony Ramine
>>
>> Le 20 mai 2013 à 15:52, Fredrik a écrit :
>>
>>> On 05/20/2013 01:39 PM, Anthony Ramine wrote:
>>>> Hello Fredrik,
>>>>
>>>> Regular expression "[A-Z]*" doesn't match OTP-OS-MON-MIB. Do you want me to amend my patch so it only modifies the top-level .gitignore to match on "[A-Z-]" instead of "[A-Z]"?
>>>>
>>>> On a side-note I hate top-level .gitignore files because you tend to forget their existence.
>>>>
>>>> Regards,
>>>>
>>> This wildcard expression is working for us, it is not a regular expression, do you have a problem with just this file ?
>>>
>>> --
>>>
>>> BR Fredrik Gustafsson
>>> Erlang OTP Team
>>>
>>
>
More information about the erlang-patches
mailing list