Yes, that's all worked great. Got the pull request and I'll merge it in.
Especially for small changes that can go in and don't affect the building of everything else, that's the best way to handle them. You want any pull request you send to be self-contained (in that it isn't part of a 'work in progress' though).
So for bigger changes you might want to do a bit of work, with maybe several commits, and then only issue a pull request when it's done.
As I understand it, with Git if you issue a pull request from a branch (eg. master) then any changes you push to GitHub after you've made the PR will update the PR. That may not be what you want, if you're working on stuff continually, so for bigger changes you may well want to create a branch locally, work on that, and then submit a pull request for just that branch.
Just wanted to check though, I notice in your diff you change:
I don't think that actually does anything apart from complicate the code though - or did it actually cause you compile problems? If __WORDSIZE isn't defined, then it's not equal to 64 so the statement still works as expected?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, that's all worked great. Got the pull request and I'll merge it in.
Especially for small changes that can go in and don't affect the building of everything else, that's the best way to handle them. You want any pull request you send to be self-contained (in that it isn't part of a 'work in progress' though).
So for bigger changes you might want to do a bit of work, with maybe several commits, and then only issue a pull request when it's done.
As I understand it, with Git if you issue a pull request from a branch (eg. master) then any changes you push to GitHub after you've made the PR will update the PR. That may not be what you want, if you're working on stuff continually, so for bigger changes you may well want to create a branch locally, work on that, and then submit a pull request for just that branch.
Just wanted to check though, I notice in your diff you change:
to
I don't think that actually does anything apart from complicate the code though - or did it actually cause you compile problems? If
__WORDSIZE
isn't defined, then it's not equal to 64 so the statement still works as expected?