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

Ian Romanick idr at freedesktop.org
Wed Jan 4 10:55:47 PST 2012


On 01/03/2012 01:03 PM, 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/
>    tests/glx/.gitignore
      tests/glx/glx_unittest

:)

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> This patch adds all of these files to .gitignore.
> ---
>   bin/.gitignore       |    2 ++
>   tests/.gitignore     |    3 +++
>   tests/glx/.gitignore |    1 +
>   3 files changed, 6 insertions(+), 0 deletions(-)
>   create mode 100644 bin/.gitignore
>   create mode 100644 tests/.gitignore
>   create mode 100644 tests/glx/.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/
> diff --git a/tests/glx/.gitignore b/tests/glx/.gitignore
> new file mode 100644
> index 0000000..dab7e97
> --- /dev/null
> +++ b/tests/glx/.gitignore
> @@ -0,0 +1 @@
> +/glx_unittest



More information about the mesa-dev mailing list