This is an automated email from the ASF dual-hosted git repository.

leginee pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 1b412898818c91766999e5a5a12caa35c0dae440
Author: Peter Kovacs <[email protected]>
AuthorDate: Sat Aug 29 15:02:46 2026 +0200

    gitignore: the configure output that keeps getting staged
    
    `git add -A` sweeps up the files configure and set_soenv generate, because
    nothing ignores them.  Once staged they are visible to `pre-commit run
    --all-files` -- which enumerates staged files, not just committed ones -- 
and
    codespell fails on the build environment they record:
    
        main/config.out:75: BUILDT ==> BUILT, BUILD
        main/winAMD64Env.set.sh:15: BUILDT ==> BUILT, BUILD
    
    That happened twice in a row, and the second time it also blocked a pull:
    a merge produces a tree without these paths, so git treats the staged
    additions as local changes it would overwrite and refuses.
    
    The gap is narrow rather than general.  The section already ignores the
    generated environment script for every other platform --
    /main/FreeBSD*Env.Set*, /main/Linux*Env.Set*, /main/MacOS*Env.Set*,
    /main/OS2*Env.Set* -- and the Windows entry, /main/winenv.set*, does not
    reach winAMD64Env.set.sh.  Likewise config.log, config.parms and
    config.status are listed while config.out is not.  So: one pattern that
    covers the Windows env scripts and their .bak copies, and one line for
    config.out.
    
    Four cfg*.txt files in the repository root were staged with them, but they
    are not build output -- they are a developer's own record of the configure
    invocation -- so they belong in .git/info/exclude rather than here.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01UWgzQY2r1XwFvgeLPFWPsi
---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 55f009dbbc..975503fa1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,6 +30,7 @@
 /main/autom4te.cache
 /main/config.guess
 /main/config.log
+/main/config.out
 /main/config.parms
 /main/config.status
 /main/configure
@@ -37,6 +38,7 @@
 /main/bootstrap
 /main/makefile.mk
 /main/solver
+/main/win*Env.set*
 /main/winenv.set*
 /main/Makefile
 /main/dmake/*

Reply via email to