com web/php: Add .gitattributes file: .gitattributes
| From: | Peter Kokot | Date: | Wed, 17 Oct 2018 09:00:20 +0000 |
| Subject: | com web/php: Add .gitattributes file: .gitattributes | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27336@lists.php.net to get a copy of this message | ||
Commit: 4394adad69b321add6ed98f5337c1de944974329
Author: Peter Kokot <peterkokot@gmail.com> Wed, 17 Oct 2018 11:00:20 +0200
Parents: d184dce4af4dc5f1996aa47c565ebb9fde5321fc
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4394adad69b321add6ed98f5337c1de944974329
Log:
Add .gitattributes file
This patch adds a new .gitattributes file to distinguish the end of
lines of the iCalendar files located in the repository and for Git to
not normalize and convert end of lines. The iCalendar format requires to
have CRLF line endings. All other files in the repository can have
native EOL. On *nix alike systems LF and on Windows CRLF which Git can
convert properly on checkouts.
Changed paths:
A .gitattributes
Diff:
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000...35c6f37
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# iCalendar format needs to have CRLF end of lines style
+/backend/events/* eol=crlf