[vlc-devel] [PATCH] .gitignore: Add some more specific entries to gitignore files

Daniel Glaas daniel.glaas at freenet.de
Thu Jul 23 15:45:09 CEST 2020


Hi, thanks for the quick replies!

My understanding is, that test_Foo.c is no suitable name for a permanent 
added file. And even if, it does not prevent to add this file to a new 
commit. Moreover, for files that already exist, a .gitignore pattern 
doesn't affects this file.

Am 23.07.20 um 15:38 schrieb Rémi Denis-Courmont:
> Le torstaina 23. heinäkuuta 2020, 16.22.16 EEST Daniel Glaas a écrit :
>> After having run "make" and "make check" after a fresh checkout leads to
>> several unversioned files shown by "git status".
>>
>> This patch adds some entries in the common .gitignore file and adds two
>> new files in nested directories.
> This is introducing false negatives.
>
> -1
>
Am 23.07.20 um 15:36 schrieb Alexandre Janniaux:
> Hi,
>
>>  From 881a760ea0bb63f81a1407baef5eedee3af81927 Mon Sep 17 00:00:00 2001
>> From: Daniel Glaas <daniel.glaas at freenet.de>
>> Date: Thu, 23 Jul 2020 15:13:44 +0200
>> Subject: [PATCH 4/4] .gitignore: Add some more specific entries to gitignore
>>   files
>>
>> After having run "make" and "make check" after a fresh checkout leads to
>> several unversioned files shown by "git status".
>> This patch adds some entries in the common .gitignore file and adds two
>> new files in nested directories.
>> ---
>>   .gitignore                               | 5 +++++
>>   modules/codec/webvtt/.gitignore          | 3 +++
>>   modules/stream_out/chromecast/.gitignore | 2 ++
>>   3 files changed, 10 insertions(+)
>>   create mode 100644 modules/codec/webvtt/.gitignore
>>   create mode 100644 modules/stream_out/chromecast/.gitignore
>>
>> diff --git a/.gitignore b/.gitignore
>> index 0b0ee9cc20..ef23899442 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -53,3 +53,8 @@ build*
>>   contrib-*
>>   install-*
>>
>> +
>> +*_test
>> +test*
> This doesn't look correct, test_FOO.c will be masked because of this.
>
>> +*.lo
>> +*.log
>> \ No newline at end of file
>> diff --git a/modules/codec/webvtt/.gitignore b/modules/codec/webvtt/.gitignore
>> new file mode 100644
>> index 0000000000..22e32a5811
>> --- /dev/null
>> +++ b/modules/codec/webvtt/.gitignore
>> @@ -0,0 +1,3 @@
>> +CSSGrammar.c
>> +CSSGrammar.h
>> +CSSLexer.c
>> \ No newline at end of file
>> diff --git a/modules/stream_out/chromecast/.gitignore b/modules/stream_out/chromecast/.gitignore
>> new file mode 100644
>> index 0000000000..f927b4dafc
>> --- /dev/null
>> +++ b/modules/stream_out/chromecast/.gitignore
>> @@ -0,0 +1,2 @@
>> +cast_channel.pb.cc
>> +cast_channel.pb.h
>> \ No newline at end of file
>> --
>> 2.17.1
>
> Regards,
> --
> Alexandre Janniaux
> Videolabs
>
> On Thu, Jul 23, 2020 at 03:22:16PM +0200, Daniel Glaas wrote:
>> After having run "make" and "make check" after a fresh checkout leads to
>> several unversioned files shown by "git status".
>>
>> This patch adds some entries in the common .gitignore file and adds two new
>> files in nested directories.
>>
>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list