[Mesa-dev] [PATCH] Add .gitignore files to exclude unit test build artifacts from git

Ian Romanick idr at freedesktop.org
Tue Jan 3 11:28:01 PST 2012


On 01/03/2012 08:19 AM, Paul Berry wrote:
> With the addition of unit tests in commit
> 3ef3ba4d2eee36f64062a21ce030c3f4d8c4cac4, several additional build
> artifacts are created:
>
>    bin/depcomp
>    bin/missing
>    tests/Makefile
>    tests/Makefile.in
>    tests/glx/Makefile
>    tests/glx/Makefile.in
>    tests/glx/.deps/
>
> This patch adds all of these files to .gitignore.

I never build in tree, so I didn't even notice.  Shouldn't 
tests/glx_unittest also be ignored?

> ---
>   bin/.gitignore   |    2 ++
>   tests/.gitignore |    3 +++
>   2 files changed, 5 insertions(+), 0 deletions(-)
>   create mode 100644 bin/.gitignore
>   create mode 100644 tests/.gitignore
>
> diff --git a/bin/.gitignore b/bin/.gitignore
> new file mode 100644
> index 0000000..3b3f168
> --- /dev/null
> +++ b/bin/.gitignore
> @@ -0,0 +1,2 @@
> +/depcomp
> +/missing
> diff --git a/tests/.gitignore b/tests/.gitignore
> new file mode 100644
> index 0000000..a963aad
> --- /dev/null
> +++ b/tests/.gitignore
> @@ -0,0 +1,3 @@
> +Makefile
> +Makefile.in
> +.deps/


More information about the mesa-dev mailing list