diff mbox

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

Message ID 1354873000-16039-1-git-send-email-brobecker@adacore.com
State New
Headers show

Commit Message

Joel Brobecker Dec. 7, 2012, 9:36 a.m. UTC
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,

Comments

Mike Stump Dec. 7, 2012, 6:03 p.m. UTC | #1
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. UTC | #2
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
diff mbox

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