Skip to content

chore: renormalize showdown.js to LF per .gitattributes - #163

Merged
patextreme merged 1 commit into
mainfrom
chore/renormalize-showdown-lf
Aug 4, 2026
Merged

chore: renormalize showdown.js to LF per .gitattributes#163
patextreme merged 1 commit into
mainfrom
chore/renormalize-showdown-lf

Conversation

@patextreme

Copy link
Copy Markdown
Contributor

What & why

Commit 4b69571 (ci: add file hygiene workflow and lint configuration) introduced an eol=lf policy across the repo, but the vendored file initial-pages/static/showdown.js was left with CRLF line endings. As a result, git continuously reports the working tree as modified (CRLF will be replaced by LF the next time Git touches it) even though there is no real content change.

This PR renormalizes that single file to LF, completing the hygiene work started in 4b69571.

Change

  • initial-pages/static/showdown.js: CRLF → LF on the trailing sourceMappingURL line. No content change — only the line ending.

Verification

$ diff <(git show HEAD:initial-pages/static/showdown.js) initial-pages/static/showdown.js
# byte-identical except for trailing CR
$ git add --renormalize initial-pages/static/showdown.js
$ git diff --cached --stat
 initial-pages/static/showdown.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

After this change, a fresh checkout/clone no longer shows showdown.js as modified.

Commit 4b69571 ('ci: add file hygiene workflow and lint configuration')
introduced an  policy but the vendored showdown.js blob was
left with CRLF line endings, so git continuously reports the working
tree as modified. Renormalize the file to LF to satisfy the policy.

No content change; only CRLF -> LF on the sourceMappingURL line.

Signed-off-by: Pat Losoponkul <patextreme@hotmail.com>
@patextreme
patextreme force-pushed the chore/renormalize-showdown-lf branch from 3adddcc to 88c0412 Compare August 4, 2026 14:46
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@patextreme
patextreme merged commit f0251a8 into main Aug 4, 2026
12 checks passed
@patextreme
patextreme deleted the chore/renormalize-showdown-lf branch August 4, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant