From 597f04eabb0446f5e7c5d9b438a51315b69ad0ec Mon Sep 17 00:00:00 2001 From: revtex Date: Fri, 4 Sep 2026 11:48:18 -0400 Subject: [PATCH] Normalise MetadataPage.xaml's line endings, and remove the two stray carriage returns that blocked it This file was the only XAML in Views/Pages whose blob git stored unnormalised: `git ls-files --eol` reported `i/-text` where its four siblings all reported `i/lf`. The effect was that any edit to it, on any machine with core.autocrlf=true, produced a diff showing all 873 lines as changed, burying the real change in noise. The cause was not that the file predates .gitattributes. It contained two lone CR bytes -- `"\r\r\n` sequences, stray trailing whitespace after a closing attribute quote on the AutomationProperties.Name lines for the album-artist and genre fields. A lone CR makes git classify a blob as binary, and `text=auto` declines to normalise a binary file, so the clean filter had been silently skipping this one all along. `git add --renormalize` on its own is a no-op here; it leaves the blob `i/-text`. Removing those two bytes lets the filter do its job. Both sat between attributes inside a tag, outside any quoted value, so XML never saw them as anything but separator whitespace: the old blob with the two CRs stripped is byte-identical to the new one, `git diff --cached -w` is empty, and the file still parses. The 873-line churn in this commit is the one-time cost of the normalisation. It is here, alone, so that no future change has to pay it. Not user-visible, so no changelog entry -- label this `no-changelog`. Co-Authored-By: Claude Opus 5 --- .../Views/Pages/MetadataPage.xaml | 1746 ++++++++--------- 1 file changed, 873 insertions(+), 873 deletions(-) diff --git a/src/Offstream.App/Views/Pages/MetadataPage.xaml b/src/Offstream.App/Views/Pages/MetadataPage.xaml index 47fc327..b8f8b43 100644 --- a/src/Offstream.App/Views/Pages/MetadataPage.xaml +++ b/src/Offstream.App/Views/Pages/MetadataPage.xaml @@ -1,873 +1,873 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +