Normalize line endings to LF via .gitattributes

pyproject.toml, sampling.py and LICENSE were committed with CRLF while
every other file was LF. core.autocrlf=input does not fix this: text=auto
deliberately skips paths already stored as CRLF, so the mismatch was
permanent and any tool that rewrote those files turned a one-line edit
into a whole-file diff.

`* text=auto eol=lf` pins LF for every clone regardless of local git
config. This commit is `git add --renormalize .` only -- verified with
`git diff --cached --ignore-cr-at-eol` that no content changed.
This commit is contained in:
Jordan Thompson
2026-09-05 16:34:39 -07:00
parent 70f3f91f50
commit 01f21e2d36
4 changed files with 2366 additions and 2361 deletions
+5
View File
@@ -0,0 +1,5 @@
# Normalize all text files to LF in the repo and in the working tree.
# Without this, core.autocrlf grandfathers in files already committed as
# CRLF (pyproject.toml, sampling.py), so editors and shell tools silently
# flip them and every edit shows up as a whole-file diff.
* text=auto eol=lf
+20 -20
View File
@@ -1,21 +1,21 @@
MIT License
Copyright (c) 2026 Jordan "WAS" Thompson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
MIT License
Copyright (c) 2026 Jordan "WAS" Thompson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+25 -25
View File
@@ -1,25 +1,25 @@
[project]
name = "RES4SHO"
version = "1.4.2"
description = "High-Frequency Detail Sampling based on Res Sampling for ComfyUI"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT License" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
# Pure-torch sampling code -- everything it imports (torch, tqdm, aiohttp)
# already ships with ComfyUI. Declaring nothing here keeps the installer from
# touching the user's existing torch build.
dependencies = []
[project.urls]
Repository = "https://github.com/WASasquatch/RES4SHO"
"Bug Tracker" = "https://github.com/WASasquatch/RES4SHO/issues"
[tool.comfy]
PublisherId = "was"
DisplayName = "RES4SHO"
requires-comfyui = ">=0.3.11"
[project]
name = "RES4SHO"
version = "1.4.2"
description = "High-Frequency Detail Sampling based on Res Sampling for ComfyUI"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT License" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
# Pure-torch sampling code -- everything it imports (torch, tqdm, aiohttp)
# already ships with ComfyUI. Declaring nothing here keeps the installer from
# touching the user's existing torch build.
dependencies = []
[project.urls]
Repository = "https://github.com/WASasquatch/RES4SHO"
"Bug Tracker" = "https://github.com/WASasquatch/RES4SHO/issues"
[tool.comfy]
PublisherId = "was"
DisplayName = "RES4SHO"
requires-comfyui = ">=0.3.11"
+2316 -2316
View File
File diff suppressed because it is too large Load Diff