Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
* text=auto eol=lf
Copy link
Author

@ProteanCoding ProteanCoding Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On all modern OSes, modern editors (including VS Code) can deal with lf endings just fine, crlf is not needed.
If git is allowed to set the line endings to crlf before commits, this leads to discrepancies that are annoyingly useless at best.

And who knows what at worse ! Some of these files end up being used in a Docker environment, which will be expecting lf endings.


###############################################################################
# Set default behavior for command prompt diff.
Expand Down
1 change: 1 addition & 0 deletions browser-interface/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ test/**/*.js
test/**/*.js.map
dist
!packages/shared/world/runtime-7/sourcemap/source-map@0.7.4.js
/protocol-temp/
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This folder can remain if the build process is interrupted before the end.
Its brief appearance has also been confusing my own file monitoring process.


# ============== #
# Local mappings #
Expand Down