-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
I noticed that when I fork this repository and then make changes on a Mac machine, that git diff shows ^M characters at the end of lines:
-STATIC_URL = '/static/'
-STATIC_ROOT = os.path.join(BASE_DIR, 'static')
+FORCE_SCRIPT_NAME = '/service/appraise/'^M
+^M
+STATIC_URL = FORCE_SCRIPT_NAME + '/static/'^M
+STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')^M
+^M
I think this might be because the files are developed on Windows, and have Windows line endings. See for example: https://stackoverflow.com/a/26490990/1987598
Do you know of an easy way to avoid this?
Did you enable automatic line ending normalization with git (https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings?platform=windows)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels