Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix #9 by using LF line-endings#10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ensconced wants to merge2 commits intowhyboris:main
base:main
Choose a base branch
Loading
fromensconced:fix/9-yarn-line-endings

Conversation

ensconced
Copy link

@ensconcedensconced commentedApr 10, 2021
edited
Loading

fixes#9

After merging this in, to actually see the fixed line-endings in your working tree, you'll need to clear out your working directory, and then restore everything again by doing this:

(N.B. this will clear out any uncommitted changes you have on your branch).

git rm -r ./* && git reset --hard

Then if you openbin/index.js you should see that the line-endings are just LF rather than CR+LF. I tested this in Notepad++ (View > Show Symbol > Show End of Line).

whyboris reacted with thumbs up emojiwhyboris reacted with eyes emoji
ensconcedand others added2 commitsApril 10, 2021 08:24
this ensures that the bin scripts in the published package are unix-compatible
@whyboris
Copy link
Owner

Thank you for this contribution 🙇
Sorry it's taking a while for me to get to it 😓 I've been busy with life stuff (not bad, just time-consuming).
I intend to get this merged in before the end of the year 🤞

ensconced reacted with thumbs up emoji

@whyboris
Copy link
Owner

whyboris commentedJan 4, 2022
edited
Loading

Thank you again for this -- I'll test it onWindows once and merge 🤝

This was a great article about the topic:
https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/

I might try the command from the articlegit add --renormalize . 🤝

@whyboris
Copy link
Owner

Intending to merge/fix this problem in the coming month 🤞

@whyboris
Copy link
Owner

I'm hoping to catch up on updating all my repositories this winter 😅

@whyboris
Copy link
Owner

😓 oh it's been busy years for me ... hoping to get back to cleaning my less-frequently-used-by-me repositories in 2025 🤞

Thank you again for the PR - it's not forgotten 🙇‍♂️ ♥

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

doesn't work with yarn due to CRLF line-ending
2 participants
@ensconced@whyboris

[8]ページ先頭

©2009-2025 Movatter.jp