[Libosinfo] [PATCH] gitignore: Ignore more tags
Martin Kletzander
mkletzan at redhat.com
Mon Oct 1 14:16:35 UTC 2018
On Mon, Oct 01, 2018 at 09:28:46AM -0400, Cole Robinson wrote:
>On 10/01/2018 08:59 AM, Martin Kletzander wrote:
>> For people using, for example gtags, this helps make the wordkir clean.
>>
>> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>> ---
>> .gitignore | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 7e33c50f233a..d6ec8ac13525 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -1,5 +1,8 @@
>> ChangeLog
>> AUTHORS
>> +GPATH
>> +GRTAGS
>> +GTAGS
>> *.[ao]
>> *.l[ao]
>> *~
>>
>
>IMO these types of things belong in a personal global gitignore. For
>example in ~/.gitconfig I have
>
>[core]
> excludesfile = ~/bin/config/gitignore
>
>Which ignores things like ctags, cscope, and pycscope output that I use
>occasionally
>
Oh, that's cool. Thanks for the tip. It actually uses ~/.config/git/ignore by
default (rough approximation of git-config(1)).
Feel free to drop this patch then.
Have a nice day,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20181001/00dc1a8b/attachment.sig>
More information about the Libosinfo
mailing list