selftests: tty: add tty_tiocsti_test to .gitignore
Subsystems (2)
PATCH 1/1 selftests: tty: add tty_tiocsti_test to .gitignore
Add the tty_tiocsti_test binary to .gitignore to avoid accidentally staging the build artifact.
--- tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/tty/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_update
Signature · 1 line
2.43.0
Quoted 3 lines · Gopi Krishna Menon
Add the
tty_tiocsti_testbinary to .gitignore to avoid accidentally staging the build artifact.
Why do we want to ignore building this artifact? When submitting a patch, it is important to list "why" something is needed. Not just what is done.
tools/testing/selftests/tty/.gitignore line 3
Quoted 13 lines
Signed-off-by Gopi Krishna Menon <[email protected]>--- tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/tty/.gitignore +1
-0@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_update
Thanks,
David Hunter
PATCH v2 1/1 selftests: tty: add tty_tiocsti_test to .gitignore
Building the tty selftests generates the tty_tiocsti_test binary, which appears as untracked file in git. As mentioned in the kselftest documentation, all the generated objects must be placed inside .gitignore. This prevents the generated objects from accidentally getting staged and keeps the working tree clean.
Add the tty_tiocsti_test binary to .gitignore to avoid accidentally staging the build artifact and maintain a clean working tree.
---
Changelog:
- Improve the commit wording and explain clearly why this change is needed.
tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/tty/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_update
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 32 lines · Gopi Krishna Menon
Building the tty selftests generates the
tty_tiocsti_testbinary, which appears as untracked file in git. As mentioned in the kselftest documentation, all the generated objects must be placed inside .gitignore. This prevents the generated objects from accidentally getting staged and keeps the working tree clean.Add the
tty_tiocsti_testbinary to .gitignore to avoid accidentally staging the build artifact and maintain a clean working tree.Suggested-by David Hunter <[email protected]>Signed-off-by Gopi Krishna Menon <[email protected]>---
Changelog:
- Improve the commit wording and explain clearly why this change is needed.tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/tty/.gitignore +1
-0@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_updateSignature · 1 line
2.43.0
Shouldn't this go through the tty tree that added this test?
thanks,
greg k-h
PATCH v2 1/1 selftests: tty: add tty_tiocsti_test to .gitignore
Building the tty selftests generates the tty_tiocsti_test binary, which appears as untracked file in git. As mentioned in the kselftest documentation, all the generated objects must be placed inside .gitignore. This prevents the generated objects from accidentally getting staged and keeps the working tree clean.
Add the tty_tiocsti_test binary to .gitignore to avoid accidentally staging the build artifact and maintain a clean working tree.
---
Changelog:
- Improve the commit wording and explain clearly why this change is needed.
tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/tty/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_update
Signature · 1 line
2.43.0
Greg KH
maintainerQuoted 9 lines · Gopi Krishna Menon
Building the tty selftests generates the
tty_tiocsti_testbinary, which appears as untracked file in git. As mentioned in the kselftest documentation, all the generated objects must be placed inside .gitignore. This prevents the generated objects from accidentally getting staged and keeps the working tree clean.Add the
tty_tiocsti_testbinary to .gitignore to avoid accidentally staging the build artifact and maintain a clean working tree.
Quoted 7 lines
Suggested-by David Hunter <[email protected]>Signed-off-by Gopi Krishna Menon <[email protected]>---
Changelog:
- Improve the commit wording and explain clearly why this change is needed.
What commit id does this fix?
thanks,
greg k-h
PATCH v3 1/1 selftests: tty: add tty_tiocsti_test to .gitignore
Building the tty selftests generates the tty_tiocsti_test binary, which appears as untracked file in git. As mentioned in the kselftest documentation, all the generated objects must be placed inside .gitignore. This prevents the generated objects from accidentally getting staged and keeps the working tree clean.
Add the tty_tiocsti_test binary to .gitignore to avoid accidentally staging the build artifact and maintain a clean working tree.
---
Changelog:
v3:
- Add fixes tag as suggested by Greg KH.
v2:
- Improve the commit wording and explain clearly why this change is needed.
tools/testing/selftests/tty/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/tty/.gitignore +1 -0
@@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only +tty_tiocsti_test tty_tstamp_update
Signature · 1 line
2.43.0