Re: [PATCH] selftests/powerpc: Add .gitignore for powerpc selftests

From: Michael Ellerman
Date: Tue Jan 13 2015 - 21:16:06 EST


On Tue, 2015-01-13 at 17:16 -0700, Shuah Khan wrote:
> Please add a commit log.

What does it need to say?

> On 01/13/2015 04:49 PM, Michael Ellerman wrote:
> > Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> > ---
> > .../testing/selftests/powerpc/copyloops/.gitignore | 4 ++++
> > tools/testing/selftests/powerpc/mm/.gitignore | 1 +
> > tools/testing/selftests/powerpc/pmu/.gitignore | 3 +++
> > tools/testing/selftests/powerpc/pmu/ebb/.gitignore | 22 ++++++++++++++++++++++
> > .../selftests/powerpc/primitives/.gitignore | 1 +
> > tools/testing/selftests/powerpc/tm/.gitignore | 1 +
> > 6 files changed, 32 insertions(+)
> > create mode 100644 tools/testing/selftests/powerpc/copyloops/.gitignore
> > create mode 100644 tools/testing/selftests/powerpc/mm/.gitignore
> > create mode 100644 tools/testing/selftests/powerpc/pmu/.gitignore
> > create mode 100644 tools/testing/selftests/powerpc/pmu/ebb/.gitignore
> > create mode 100644 tools/testing/selftests/powerpc/primitives/.gitignore
> > create mode 100644 tools/testing/selftests/powerpc/tm/.gitignore
>
> Please create a single .gitignore for all targets right under
> tools/testing/selftests/powerpc instead of multiple .gitignore
> files.

Why? Having separate files makes it less likely we'll get merge conflicts
between different test subdirectores, it also makes it more likely someone
adding a test will notice they need to update the .gitignore in the same
directory.

cheers


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/