-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Introduce a unix module and implement $unix:umask #949
Conversation
@xiaq Do you prefer people push PR updates as deltas (i.e., standalone commits) or forced pushes after squashing the update into the previous commit? I'm asking because I noticed you merged a couple of my earlier PRs without squashing the subsequent change(s) I made in response to your review feedback. Which is not how other projects typically handle pull-request deltas made as a result of review feedback. |
f84f7b1
to
98863e4
Compare
@xiaq, I've addressed all of your points with one exception. You made two contradictory recommendations with regarding to the |
My introduction of the |
Re. making it easy for Elvish code to decide whether the Re. preference of how you push code: I don't mind, since when merging a PR in GitHub you can optionally squash all the commits. When I see people pushing commits that say "address PR feedback" I'd use "sqush and merge"; when I see people force-push I'd use "rebase and merge". |
SGTM. I chose the current solution because it localizes the var for determining the usability of a module to that module. But given the existence of the |
98863e4
to
762a23c
Compare
@xiaq, Please take another look. I've rebased on the recent changes to the master branch but otherwise the changes only addressed your most recent feedback. |
Thanks. There are still two pieces of feedback that haven't been fully addressed; I unresolved the relevant conversations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost good to go.
That would be incorrect in this instance since the |
Oops, you are right! Please format the files with
If you don't like the option of running |
I ran goimports. Please squash merge. P.S., I've gone ahead and added a write hook to my Vim config. The problem with that approach is that if I edit a Go source file using some other program then goimports won't automatically be run. How would you feel about adding a |
Also, I just installed |
@krader1961 I introduced a A few more nitpicks on the PR, but I'll merge it anyway and address myself:
Also, I am not sure what the test case in Do you have a specific failure mode in mind that this test case is supposed to catch? I'll remove it if it's not clear why it is there. |
That's leftover from when I intended to make it possible to |
Resolves #681