From 957b4f52665bac3f2fc7dfb404a1ba11a86a1d69 Mon Sep 17 00:00:00 2001 From: Yannis Vogel Date: Mon, 21 Apr 2025 14:56:44 +0200 Subject: [PATCH] fix line endings fix line endings to be in LF format --- .gitattributes | 16 ++++++++++++++++ htdocs/info.php | 3 --- php/federator/api/fedusers/inbox.php | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 .gitattributes delete mode 100644 htdocs/info.php diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c3f72e6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text +*.php text + +# Declare files that will always have LF line endings on checkout. +*.sln text eol=lf +*.php text eol.lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary diff --git a/htdocs/info.php b/htdocs/info.php deleted file mode 100644 index 79e7d9d..0000000 --- a/htdocs/info.php +++ /dev/null @@ -1,3 +0,0 @@ -addCC($cc); } } - + $create->setObject($apNote); break; default: