-
Notifications
You must be signed in to change notification settings - Fork 2
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
Missing an obvious alias. #2
Conversation
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.
Though your PR is missing a description, I can approve this for you!
@@ -209,6 +209,7 @@ alias grb2="git rebase -i HEAD~2" | |||
alias grb3="git rebase -i HEAD~3" | |||
alias grb5="git rebase -i HEAD~5" | |||
alias grbt="git rebase -i HEAD~10" | |||
alias grbtt="git rebase -i HEAD~1010" |
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.
alias grbtt="git rebase -i HEAD~1010" | |
alias grbtt="git rebase -i HEAD~$(echo "obase=2;10" | bc) |
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.
Hardcoding values isn't enterprise-y enough.
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.
I measured this across 10000 runs and your change really drags down the perf. Is this a strict requirement?
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.
Are you the using enterprise version of zsh? If not it will rate limit rc file execution. We only support "zsh for business" subscriptions.
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.
I agree with @benbp
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.
@maorleger - can you clarify?
@chrisradek, I believe you've run into issues with this before, correct? |
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.
Please make sure we can support all values between 10 and 1010
I would also like us to consider supporting negative values, in order to see what commits we will make in the future. This should rapidly improve our development velocity. |
@richardpark-msft aliasing can be hard 😄 |
This needs an integration test. |
I looked but I didn't see an example of that. Is your contributors guide out of date? |
Issue filed: #4 |
should we consider a more future-proof approach so we never confuse anyone with irrelevant history? |
Added! Hopefully this will be the feature that sways @benbp to treat this like a real open source project. |
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
I need support for 1011, should I file a new issue or add on to this one? |
@alzimmermsft we track all issues here, just make sure to add a link to the comment explaining your issue in the commit message. You can edit comment as you go to provide more context. |
@alzimmermsft @lmolkova we may need to cut a new major version for 1011. It may break some users who have taken hard dependencies on this pull request. |
@@ -209,6 +209,9 @@ alias grb2="git rebase -i HEAD~2" | |||
alias grb3="git rebase -i HEAD~3" | |||
alias grb5="git rebase -i HEAD~5" | |||
alias grbt="git rebase -i HEAD~10" | |||
alias grbtt="git rebase -i HEAD~1010" | |||
# Thank you @lmolkova! | |||
alias screwit="git rebase --soft --root && git commit -m "i did it all in one commit"" |
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.
alias screwit="git rebase --soft --root && git commit -m "i did it all in one commit"" | |
alias screwit="git rebase --soft --root && git commit -m 'i did it all in one commit'" |
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.
@KarishmaGhiya is the hero we needed.
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.
LGTM!
We did it folks. I will be sending out ship-it awards within the week. Please post your addresses publicly to this pull request thread. |
This repo seems to handle some small values, but lacks the larger values needed to really hit enterprise levels.
NOTE: updating as per @KarishmaGhiya's comment.