Marc Hoersken | 1 Jul 2012 09:53
Picon
Gravatar

gitignore: Added files generated by mingw32, eclipse and VC

Hello everyone,

I updated the .gitignore file to exclude files generated by mingw32,
eclipse and VC.

Would be great if someone could push it to the main repo. Thanks in advance!

Best regards,
Marc
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Guenter | 3 Jul 2012 10:42

Re: gitignore: Added files generated by mingw32, eclipse and VC

Hi Marc,
Am 01.07.2012 09:53, schrieb Marc Hoersken:
> I updated the .gitignore file to exclude files generated by mingw32,
> eclipse and VC.
just looked at it:

--- a/.gitignore
+++ b/.gitignore
 <at>  <at>  -42,3 +42,12  <at>  <at>  TAGS
  *~
  aclocal.m4.bak
  CHANGES.dist
+.project
+.cproject
+lib/libcurl.a
+lib/libcurl.res
+lib/libcurldll.a
+src/curl.res
+winbuild/CURL_OBJS.inc
+winbuild/LIBCURL_OBJS.inc
+winbuild/vc*.idb

and I think this could be simplified to:
+.project
+.cproject
+*.a
+*.res
+*.idb
+winbuild/*.inc

(Continue reading)

Marc Hoersken | 3 Jul 2012 11:11
Picon
Gravatar

Re: gitignore: Added files generated by mingw32, eclipse and VC

Hi Günter,

2012/7/3 Guenter <lists <at> gknw.net>:
> just looked at it:
>
> --- a/.gitignore
> +++ b/.gitignore
>  <at>  <at>  -42,3 +42,12  <at>  <at>  TAGS
>  *~
>  aclocal.m4.bak
>  CHANGES.dist
> +.project
> +.cproject
> +lib/libcurl.a
> +lib/libcurl.res
> +lib/libcurldll.a
> +src/curl.res
> +winbuild/CURL_OBJS.inc
> +winbuild/LIBCURL_OBJS.inc
> +winbuild/vc*.idb
>
> and I think this could be simplified to:
> +.project
> +.cproject
> +*.a
> +*.res
> +*.idb
> +winbuild/*.inc
>
> or?
(Continue reading)

Yang Tse | 3 Jul 2012 11:36
Picon

Re: gitignore: Added files generated by mingw32, eclipse and VC

On Tue, Jul 3, 2012 at 10:42 AM, Guenter <lists <at> gknw.net> wrote:

> and I think this could be simplified to:
> +.project
> +.cproject

When the day comes that someone provides eclipse 'project files' for
curl we can simply remove those.

> +*.a
> +*.res
> +*.idb
> +winbuild/*.inc

These should better go into .gitignore files of specific
subdirectories such as curl/src and curl/lib and curl/winbuild and not
into the top most one.

--

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Guenter | 3 Jul 2012 13:33

Re: gitignore: Added files generated by mingw32, eclipse and VC

Am 03.07.2012 11:36, schrieb Yang Tse:
> On Tue, Jul 3, 2012 at 10:42 AM, Guenter<lists <at> gknw.net>  wrote:
>
>> and I think this could be simplified to:
>> +.project
>> +.cproject
>
> When the day comes that someone provides eclipse 'project files' for
> curl we can simply remove those.
>
>> +*.a
>> +*.res
>> +*.idb
>> +winbuild/*.inc
>
> These should better go into .gitignore files of specific
> subdirectories such as curl/src and curl/lib and curl/winbuild and not
> into the top most one.
agreed for the last one - but why for those others? F.e. we do ignore 
*.la too in the top file, where's the difference?
I believe as long as we have no files with these extensions in the whole 
project we should make things simple, and maintaining one .gitignore is 
less hassle, or?

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

(Continue reading)

Daniel Stenberg | 3 Jul 2012 13:37
Picon
Favicon
Gravatar

Re: gitignore: Added files generated by mingw32, eclipse and VC

On Tue, 3 Jul 2012, Guenter wrote:

> agreed for the last one - but why for those others? F.e. we do ignore *.la 
> too in the top file, where's the difference? I believe as long as we have no 
> files with these extensions in the whole project we should make things 
> simple, and maintaining one .gitignore is less hassle, or?

We already have 15 different .gitignore files... and I think the point with 
putting them in their own directories is to limit the scope of their effect 
and reduce the risk of adding something too broad in a top level file.

--

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Guenter | 3 Jul 2012 13:44

Re: gitignore: Added files generated by mingw32, eclipse and VC

Am 03.07.2012 13:37, schrieb Daniel Stenberg:
> We already have 15 different .gitignore files...
oh :-P
> and I think the point
> with putting them in their own directories is to limit the scope of
> their effect and reduce the risk of adding something too broad in a top
> level file.
ok; will try to sort out then ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html


Gmane