Patchwork [RFA] .gitignore: Ignore *.pyc files.

login
register
mail settings
Submitter Joel Brobecker
Date Dec. 7, 2012, 9:36 a.m.
Message ID <1354873000-16039-1-git-send-email-brobecker@adacore.com>
Download mbox | patch
Permalink /patch/204437/
State New
Headers show

Comments

Joel Brobecker - Dec. 7, 2012, 9:36 a.m.
Hello,

The GDB sources contain some python files, and executing them
causes these .pyc files to appear.  We could ignore them in GDB
only, but I think this is the type of extension (compilation
artifact) which can be shared amoung all projects.

ChangeLog:

        * .gitignore: Ignore *.pyc file.

Ok to apply?
Thanks,
Mike Stump - Dec. 7, 2012, 6:03 p.m.
On Dec 7, 2012, at 1:36 AM, Joel Brobecker <brobecker@adacore.com> wrote:
> The GDB sources contain some python files, and executing them
> causes these .pyc files to appear.  We could ignore them in GDB
> only, but I think this is the type of extension (compilation
> artifact) which can be shared amoung all projects.

This happened to us in a gcc port, so, we'd like this…  Don't know if anyone else cares enough to say ok however.  I might ask objections?
Joel Brobecker - Dec. 18, 2012, 3:25 p.m.
Ping. This patch seems fairly straightforward to the point of
being almost obvious, but so far, no review (beyond one email
expressing interest).

Thanks!


> The GDB sources contain some python files, and executing them
> causes these .pyc files to appear.  We could ignore them in GDB
> only, but I think this is the type of extension (compilation
> artifact) which can be shared amoung all projects.
> 
> ChangeLog:
> 
>         * .gitignore: Ignore *.pyc file.
> 
> Ok to apply?
> Thanks,
> -- 
> Joel
> 
> ---
>  .gitignore |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index dc1bf3f..8e2e1e9 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -12,6 +12,7 @@
>  *.la
>  *.lo
>  *.o
> +*.pyc
>  *.tmp
>  
>  .deps
> -- 
> 1.7.10.4

Patch

diff --git a/.gitignore b/.gitignore
index dc1bf3f..8e2e1e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ 
 *.la
 *.lo
 *.o
+*.pyc
 *.tmp
 
 .deps