diff mbox

gitignore: ignore TAGS with capital letter

Message ID 1427145607-21126-1-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell March 23, 2015, 9:20 p.m. UTC
Correct gitignore when using ctags generated by make

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxim Uvarov March 24, 2015, 9:21 a.m. UTC | #1
On 03/24/15 00:20, Anders Roxell wrote:
> Correct gitignore when using ctags generated by make
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   .gitignore | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index 3d74f23..2a90e7d 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -27,7 +27,7 @@ libtool
>   pkgconfig/libodp.pc
>   .deps/
>   cscope.out
> -tags
> +TAGS
>   lib/
>   doc/output
>   test-driver
Why did you remove tags? I use 'ctags -R .'  it generates tags file. And 
I don't want to have it in staged files to commit.

Maxim.
Ola Liljedahl March 24, 2015, 9:24 a.m. UTC | #2
On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> On 03/24/15 00:20, Anders Roxell wrote:
>
>> Correct gitignore when using ctags generated by make
>>
>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> ---
>>   .gitignore | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 3d74f23..2a90e7d 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -27,7 +27,7 @@ libtool
>>   pkgconfig/libodp.pc
>>   .deps/
>>   cscope.out
>> -tags
>> +TAGS
>>   lib/
>>   doc/output
>>   test-driver
>>
> Why did you remove tags? I use 'ctags -R .'  it generates tags file. And I
> don't want to have it in staged files to commit.
>
I second Maxim here. I do the same. I just assumed that Anders wanted to
force us to do  "make tags" instead. But I don't mind running ctags on my
own.

Add TAGS but don't remove tags.



> Maxim.
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Anders Roxell March 24, 2015, 9:45 a.m. UTC | #3
On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> On 03/24/15 00:20, Anders Roxell wrote:
>
>> Correct gitignore when using ctags generated by make
>>
>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> ---
>>   .gitignore | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 3d74f23..2a90e7d 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -27,7 +27,7 @@ libtool
>>   pkgconfig/libodp.pc
>>   .deps/
>>   cscope.out
>> -tags
>> +TAGS
>>   lib/
>>   doc/output
>>   test-driver
>>
> Why did you remove tags? I use 'ctags -R .'  it generates tags file. And I
> don't want to have it in staged files to commit.
>

I use that as well for other project that don't have tags, ctags as a build
target.
But I think we should promote the built-in functionality if there is one.

Cheers,
Anders


>
> Maxim.
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Anders Roxell March 24, 2015, 9:49 a.m. UTC | #4
I will send a version 2 and not remove "tags".

Cheers,

On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org> wrote:

>
>
> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>
>> On 03/24/15 00:20, Anders Roxell wrote:
>>
>>> Correct gitignore when using ctags generated by make
>>>
>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>> ---
>>>   .gitignore | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/.gitignore b/.gitignore
>>> index 3d74f23..2a90e7d 100644
>>> --- a/.gitignore
>>> +++ b/.gitignore
>>> @@ -27,7 +27,7 @@ libtool
>>>   pkgconfig/libodp.pc
>>>   .deps/
>>>   cscope.out
>>> -tags
>>> +TAGS
>>>   lib/
>>>   doc/output
>>>   test-driver
>>>
>> Why did you remove tags? I use 'ctags -R .'  it generates tags file. And
>> I don't want to have it in staged files to commit.
>>
>
> I use that as well for other project that don't have tags, ctags as a
> build target.
> But I think we should promote the built-in functionality if there is one.
>
> Cheers,
> Anders
>
>
>>
>> Maxim.
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>
>
>
Ciprian Barbu March 24, 2015, 1:50 p.m. UTC | #5
On Tue, Mar 24, 2015 at 11:49 AM, Anders Roxell
<anders.roxell@linaro.org> wrote:
> I will send a version 2 and not remove "tags".

What about cscope.out? Anyone else using cscope?

>
> Cheers,
>
>
> On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org> wrote:
>>
>>
>>
>> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>>>
>>> On 03/24/15 00:20, Anders Roxell wrote:
>>>>
>>>> Correct gitignore when using ctags generated by make
>>>>
>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>>> ---
>>>>   .gitignore | 2 +-
>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/.gitignore b/.gitignore
>>>> index 3d74f23..2a90e7d 100644
>>>> --- a/.gitignore
>>>> +++ b/.gitignore
>>>> @@ -27,7 +27,7 @@ libtool
>>>>   pkgconfig/libodp.pc
>>>>   .deps/
>>>>   cscope.out
>>>> -tags
>>>> +TAGS
>>>>   lib/
>>>>   doc/output
>>>>   test-driver
>>>
>>> Why did you remove tags? I use 'ctags -R .'  it generates tags file. And
>>> I don't want to have it in staged files to commit.
>>
>>
>> I use that as well for other project that don't have tags, ctags as a
>> build target.
>> But I think we should promote the built-in functionality if there is one.
>>
>> Cheers,
>> Anders
>>
>>>
>>>
>>> Maxim.
>>>
>>> _______________________________________________
>>> lng-odp mailing list
>>> lng-odp@lists.linaro.org
>>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>
>>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Ciprian Barbu March 24, 2015, 1:51 p.m. UTC | #6
Ignore, I was suffering from coffee induced blindness.

On Tue, Mar 24, 2015 at 3:50 PM, Ciprian Barbu <ciprian.barbu@linaro.org> wrote:
> On Tue, Mar 24, 2015 at 11:49 AM, Anders Roxell
> <anders.roxell@linaro.org> wrote:
>> I will send a version 2 and not remove "tags".
>
> What about cscope.out? Anyone else using cscope?
>
>>
>> Cheers,
>>
>>
>> On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org> wrote:
>>>
>>>
>>>
>>> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>>>>
>>>> On 03/24/15 00:20, Anders Roxell wrote:
>>>>>
>>>>> Correct gitignore when using ctags generated by make
>>>>>
>>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>>>> ---
>>>>>   .gitignore | 2 +-
>>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/.gitignore b/.gitignore
>>>>> index 3d74f23..2a90e7d 100644
>>>>> --- a/.gitignore
>>>>> +++ b/.gitignore
>>>>> @@ -27,7 +27,7 @@ libtool
>>>>>   pkgconfig/libodp.pc
>>>>>   .deps/
>>>>>   cscope.out
>>>>> -tags
>>>>> +TAGS
>>>>>   lib/
>>>>>   doc/output
>>>>>   test-driver
>>>>
>>>> Why did you remove tags? I use 'ctags -R .'  it generates tags file. And
>>>> I don't want to have it in staged files to commit.
>>>
>>>
>>> I use that as well for other project that don't have tags, ctags as a
>>> build target.
>>> But I think we should promote the built-in functionality if there is one.
>>>
>>> Cheers,
>>> Anders
>>>
>>>>
>>>>
>>>> Maxim.
>>>>
>>>> _______________________________________________
>>>> lng-odp mailing list
>>>> lng-odp@lists.linaro.org
>>>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>>
>>>
>>
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>
Ola Liljedahl March 24, 2015, 2:08 p.m. UTC | #7
On 24 March 2015 at 14:50, Ciprian Barbu <ciprian.barbu@linaro.org> wrote:

> On Tue, Mar 24, 2015 at 11:49 AM, Anders Roxell
> <anders.roxell@linaro.org> wrote:
> > I will send a version 2 and not remove "tags".
>
> What about cscope.out? Anyone else using cscope?
>
If you want git to ignore other (metadata) files, post a patch.


>
> >
> > Cheers,
> >
> >
> > On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org>
> wrote:
> >>
> >>
> >>
> >> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org>
> wrote:
> >>>
> >>> On 03/24/15 00:20, Anders Roxell wrote:
> >>>>
> >>>> Correct gitignore when using ctags generated by make
> >>>>
> >>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> >>>> ---
> >>>>   .gitignore | 2 +-
> >>>>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>>>
> >>>> diff --git a/.gitignore b/.gitignore
> >>>> index 3d74f23..2a90e7d 100644
> >>>> --- a/.gitignore
> >>>> +++ b/.gitignore
> >>>> @@ -27,7 +27,7 @@ libtool
> >>>>   pkgconfig/libodp.pc
> >>>>   .deps/
> >>>>   cscope.out
> >>>> -tags
> >>>> +TAGS
> >>>>   lib/
> >>>>   doc/output
> >>>>   test-driver
> >>>
> >>> Why did you remove tags? I use 'ctags -R .'  it generates tags file.
> And
> >>> I don't want to have it in staged files to commit.
> >>
> >>
> >> I use that as well for other project that don't have tags, ctags as a
> >> build target.
> >> But I think we should promote the built-in functionality if there is
> one.
> >>
> >> Cheers,
> >> Anders
> >>
> >>>
> >>>
> >>> Maxim.
> >>>
> >>> _______________________________________________
> >>> lng-odp mailing list
> >>> lng-odp@lists.linaro.org
> >>> http://lists.linaro.org/mailman/listinfo/lng-odp
> >>
> >>
> >
> >
> > _______________________________________________
> > lng-odp mailing list
> > lng-odp@lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/lng-odp
> >
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Ola Liljedahl March 24, 2015, 2:09 p.m. UTC | #8
On 24 March 2015 at 14:51, Ciprian Barbu <ciprian.barbu@linaro.org> wrote:

> Ignore, I was suffering from coffee induced blindness.
>
You poured coffee in your eyes? Or how else does "coffee induced blindness"
work?


>
> On Tue, Mar 24, 2015 at 3:50 PM, Ciprian Barbu <ciprian.barbu@linaro.org>
> wrote:
> > On Tue, Mar 24, 2015 at 11:49 AM, Anders Roxell
> > <anders.roxell@linaro.org> wrote:
> >> I will send a version 2 and not remove "tags".
> >
> > What about cscope.out? Anyone else using cscope?
> >
> >>
> >> Cheers,
> >>
> >>
> >> On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org>
> wrote:
> >>>
> >>>
> >>>
> >>> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org>
> wrote:
> >>>>
> >>>> On 03/24/15 00:20, Anders Roxell wrote:
> >>>>>
> >>>>> Correct gitignore when using ctags generated by make
> >>>>>
> >>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> >>>>> ---
> >>>>>   .gitignore | 2 +-
> >>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>>>>
> >>>>> diff --git a/.gitignore b/.gitignore
> >>>>> index 3d74f23..2a90e7d 100644
> >>>>> --- a/.gitignore
> >>>>> +++ b/.gitignore
> >>>>> @@ -27,7 +27,7 @@ libtool
> >>>>>   pkgconfig/libodp.pc
> >>>>>   .deps/
> >>>>>   cscope.out
> >>>>> -tags
> >>>>> +TAGS
> >>>>>   lib/
> >>>>>   doc/output
> >>>>>   test-driver
> >>>>
> >>>> Why did you remove tags? I use 'ctags -R .'  it generates tags file.
> And
> >>>> I don't want to have it in staged files to commit.
> >>>
> >>>
> >>> I use that as well for other project that don't have tags, ctags as a
> >>> build target.
> >>> But I think we should promote the built-in functionality if there is
> one.
> >>>
> >>> Cheers,
> >>> Anders
> >>>
> >>>>
> >>>>
> >>>> Maxim.
> >>>>
> >>>> _______________________________________________
> >>>> lng-odp mailing list
> >>>> lng-odp@lists.linaro.org
> >>>> http://lists.linaro.org/mailman/listinfo/lng-odp
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> lng-odp mailing list
> >> lng-odp@lists.linaro.org
> >> http://lists.linaro.org/mailman/listinfo/lng-odp
> >>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Ciprian Barbu March 24, 2015, 3:06 p.m. UTC | #9
On Tue, Mar 24, 2015 at 4:09 PM, Ola Liljedahl <ola.liljedahl@linaro.org> wrote:
> On 24 March 2015 at 14:51, Ciprian Barbu <ciprian.barbu@linaro.org> wrote:
>>
>> Ignore, I was suffering from coffee induced blindness.
>
> You poured coffee in your eyes? Or how else does "coffee induced blindness"
> work?

I had to blame it on something, even if it didn't make sense :P

>
>>
>>
>> On Tue, Mar 24, 2015 at 3:50 PM, Ciprian Barbu <ciprian.barbu@linaro.org>
>> wrote:
>> > On Tue, Mar 24, 2015 at 11:49 AM, Anders Roxell
>> > <anders.roxell@linaro.org> wrote:
>> >> I will send a version 2 and not remove "tags".
>> >
>> > What about cscope.out? Anyone else using cscope?
>> >
>> >>
>> >> Cheers,
>> >>
>> >>
>> >> On 24 March 2015 at 10:45, Anders Roxell <anders.roxell@linaro.org>
>> >> wrote:
>> >>>
>> >>>
>> >>>
>> >>> On 24 March 2015 at 10:21, Maxim Uvarov <maxim.uvarov@linaro.org>
>> >>> wrote:
>> >>>>
>> >>>> On 03/24/15 00:20, Anders Roxell wrote:
>> >>>>>
>> >>>>> Correct gitignore when using ctags generated by make
>> >>>>>
>> >>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> >>>>> ---
>> >>>>>   .gitignore | 2 +-
>> >>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>> >>>>>
>> >>>>> diff --git a/.gitignore b/.gitignore
>> >>>>> index 3d74f23..2a90e7d 100644
>> >>>>> --- a/.gitignore
>> >>>>> +++ b/.gitignore
>> >>>>> @@ -27,7 +27,7 @@ libtool
>> >>>>>   pkgconfig/libodp.pc
>> >>>>>   .deps/
>> >>>>>   cscope.out
>> >>>>> -tags
>> >>>>> +TAGS
>> >>>>>   lib/
>> >>>>>   doc/output
>> >>>>>   test-driver
>> >>>>
>> >>>> Why did you remove tags? I use 'ctags -R .'  it generates tags file.
>> >>>> And
>> >>>> I don't want to have it in staged files to commit.
>> >>>
>> >>>
>> >>> I use that as well for other project that don't have tags, ctags as a
>> >>> build target.
>> >>> But I think we should promote the built-in functionality if there is
>> >>> one.
>> >>>
>> >>> Cheers,
>> >>> Anders
>> >>>
>> >>>>
>> >>>>
>> >>>> Maxim.
>> >>>>
>> >>>> _______________________________________________
>> >>>> lng-odp mailing list
>> >>>> lng-odp@lists.linaro.org
>> >>>> http://lists.linaro.org/mailman/listinfo/lng-odp
>> >>>
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> lng-odp mailing list
>> >> lng-odp@lists.linaro.org
>> >> http://lists.linaro.org/mailman/listinfo/lng-odp
>> >>
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index 3d74f23..2a90e7d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,7 +27,7 @@  libtool
 pkgconfig/libodp.pc
 .deps/
 cscope.out
-tags
+TAGS
 lib/
 doc/output
 test-driver