aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authoracclassic <[email protected]>2023-01-02 17:35:08 +0100
committerGitHub <[email protected]>2023-01-02 17:35:08 +0100
commitf95fd57aaccb999b6fefe7b2ac9239a6c3325b0f (patch)
tree535954d426e1730beaabf1ea36244163ac443d67 /.gitignore
parente754d5cb3e6545ab5c21668a3e775ca5e9084761 (diff)
downloadhugo-f95fd57aaccb999b6fefe7b2ac9239a6c3325b0f.tar.gz
hugo-f95fd57aaccb999b6fefe7b2ac9239a6c3325b0f.zip
tpl/compare: Sort special float values as string
When sorting strings a worng order is returned. This happens because the strings are first converted to floating values to check whether or not they should be sorted as floating values. When an error is returned the strings will be handled as string literals. No error will be returned when parsing Inf, Infinity or NaN (case insensitive) because they will be coverted to special floating point values and therefore are legal float values. Now we check if the returned converted values are special floating values and treat them as string literals. Fixes #10389
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore29
1 files changed, 0 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index b2aeb9142..000000000
--- a/.gitignore
+++ /dev/null
@@ -1,29 +0,0 @@
-/hugo
-docs/public*
-/.idea
-.vscode/*
-hugo.exe
-*.test
-*.prof
-nohup.out
-cover.out
-*.swp
-*.swo
-.DS_Store
-*~
-vendor/*/
-*.bench
-*.debug
-coverage*.out
-
-dock.sh
-
-GoBuilds
-dist
-
-hugolib/hugo_stats.json
-resources/sunset.jpg
-
-vendor
-
-.hugo_build.lock