Re: [PATCH] Add git format-patch produced patches to .gitignore

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

 



Pavan Kumar Sunkara wrote:
> Ævar Arnfjörð Bjarmason wrote:

>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -203,3 +203,4 @@
>>  *.pdb
>>  /Debug/
>>  /Release/
>> +[0-9][0-9][0-9][0-9]-*.patch
[...]
> git format-patch -M origin/master -o outgoing/
> 
> So, my patches will be in subdirectory outgoing.
> But the regex rule in this patch won't be able to hide them.
> 
> What do u want to do in that case ?

Try it out.

In fact, I was worried that this patch would trigger a similar
problem: maybe some test data directory contains format-patch
output?  In fact none do, so I like the patch.

Thanks,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]