During the doxygen doc-comment triage (PR #21, merged 83204d08, 2026-07-17), app/wlib/gtk3lib/main.c was found to be the only file in the entire GTK3V2MAIN app/ tree using CRLF line endings (every other file uses LF; confirmed via 'file' on all ~65 files touched by that PR, plus spot checks elsewhere). A Python-based batch-editing script used for one of the mechanical fix phases (removing a stray \return tag) opened the file in default text mode, which silently normalized all 194 lines from CRLF to LF as a side effect of that one-line content fix. This went into the merged commit undisclosed in the PR description (which said 'doc-comment-only').
Root cause is a tooling/process gap, not a one-off mistake: nothing in the repo enforces or even declares an intended line-ending convention.
In this specific instance the maintainer reviewed and decided to leave the LF normalization as-is (net effect is arguably positive: main.c now matches the other ~500 files in the tree). But the underlying gap remains: there is no enforced or declared line-ending policy, so this can recur silently in either direction.
Anonymous
git? this is a mercurial repo.
Yeah I know! But the important item is the astyle change: (app/lib/astylerc)
Diff:
I removed the refs to git, the actual change set should not include git files.
Also actually created the branch showing no git files.
Last edit: Allen D Byrne 2 days ago