-
Notifications
You must be signed in to change notification settings - Fork 388
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
chore: add ./script/rebase-stage0.sh #3984
Conversation
heavily based on an script by Kim.
It worked here in one simple test, more testing will happen in the wild, I fear :) |
Mathlib CI status (docs):
|
script/rebase-stage0.sh
Outdated
REPO_ROOT=$(git rev-parse --show-toplevel) | ||
# Run git rebase in interactive mode, but automatically edit the todo list | ||
# using the defined GIT_SEQUENCE_EDITOR command | ||
GIT_SEQUENCE_EDITOR="$REPO_ROOT/script/aux/rebase-editor.sh" git rebase -i "$BRANCH_TO_REBASE" |
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.
Could just forward all args ($@
?) to allow for further flags or rebase target
Let's also move update-stage0 into aux/ |
Hehe, guess I cannot call a directory |
heavily based on an script by Kim.