Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to optionally pass file mode #80

Merged
merged 3 commits into from
Oct 19, 2021
Merged

Conversation

kennethzfeng
Copy link
Contributor

@kennethzfeng kennethzfeng commented Oct 18, 2021

This change allows the user to specify file mode for each file in
a change.

By default, the file mode for a file is 100644. An user can specify
the file mode in addition to the content and the encoding.

I tested this change manually using the script to capture fixtures. This works as expected, the fixture PR.

The change is revised based on the prior work from #32. Thanks, @LucaLanziani

LucaLanziani and others added 2 commits October 18, 2021 16:41
This change allows the user to specify file mode for each file in
a change.

By default, the file mode for a file is 100644.  An user can specify
the file mode in addition to the content and the encoding.
@gr2m
Copy link
Owner

gr2m commented Oct 19, 2021

PR looks great, thank you Kenneth! Could you please update the README to include a file setting the file mode? You can use the same example you used in the tests

Copy link
Owner

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@gr2m gr2m merged commit 682ea7b into gr2m:main Oct 19, 2021
@kennethzfeng kennethzfeng deleted the pass-file-mode branch October 19, 2021 19:01
@github-actions
Copy link

🎉 This PR is included in version 3.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kennethzfeng kennethzfeng changed the title Add user to optionally pass file mode Allow user to optionally pass file mode Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants