[committed] .gitignore: do not ignore config.h

Message ID a4a21410-a39-a058-fbc-9b7e57254312@ispras.ru
State Committed
Commit 4a8aab9a23550dbf53d4640fef57c0bd6f6b0129
Headers
Series [committed] .gitignore: do not ignore config.h |

Commit Message

Alexander Monakov July 19, 2022, 2:08 p.m. UTC
  GCC does not support in-tree builds at the moment, so .gitignore
concealing artifacts of accidental in-tree ./configure run may cause
confusion. Un-ignore config.h, which is known to break the build.

ChangeLog:

	* .gitignore: Do not ignore config.h.
---
 .gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Richard Biener July 20, 2022, 7:30 a.m. UTC | #1
On Tue, Jul 19, 2022 at 4:09 PM Alexander Monakov via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> GCC does not support in-tree builds at the moment, so .gitignore
> concealing artifacts of accidental in-tree ./configure run may cause
> confusion. Un-ignore config.h, which is known to break the build.

OK

> ChangeLog:
>
>         * .gitignore: Do not ignore config.h.
> ---
>  .gitignore | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.gitignore b/.gitignore
> index 021a8c741..5cc4a0fdf 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -23,7 +23,8 @@
>
>  autom4te.cache
>  config.cache
> -config.h
> +# GCC does not support in-tree builds, do not conceal a stray config.h:
> +# config.h
>  config.intl
>  config.log
>  config.status
> --
> 2.35.1
  

Patch

diff --git a/.gitignore b/.gitignore
index 021a8c741..5cc4a0fdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,7 +23,8 @@ 
 
 autom4te.cache
 config.cache
-config.h
+# GCC does not support in-tree builds, do not conceal a stray config.h:
+# config.h
 config.intl
 config.log
 config.status