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

Rebase causes aggressive hooking #29

Open
drytdubs opened this issue Oct 11, 2019 · 0 comments
Open

Rebase causes aggressive hooking #29

drytdubs opened this issue Oct 11, 2019 · 0 comments

Comments

@drytdubs
Copy link

When using interactive rebase and squashing commits, the hooks run on each squashed commit. This causes a multitude of JIRA branch checks and commit msg checks on what will be a single commit to a single branch.

(payenv) IT2310:pay cws$ git rebase -i origin/master
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
Provide your Jira issue number 
 - leave blank if ticket doesn't exist yet 
 - or use '-' to indicate a non-ticket branch 
: PAY-1118
Applying Jira ticket PAY-1118 to commit message
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
Provide your Jira issue number 
 - leave blank if ticket doesn't exist yet 
 - or use '-' to indicate a non-ticket branch 
: PAY-1118
Applying Jira ticket PAY-1118 to commit message
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
Provide your Jira issue number 
 - leave blank if ticket doesn't exist yet 
 - or use '-' to indicate a non-ticket branch 
: PAY-1118
Applying Jira ticket PAY-1118 to commit message
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
Provide your Jira issue number 
 - leave blank if ticket doesn't exist yet 
 - or use '-' to indicate a non-ticket branch 
: PAY-1118
Applying Jira ticket PAY-1118 to commit message
[running prepare-commit-msg/00-cached]
Commit message provided already, nothing to be done
[running prepare-commit-msg/01-subject]
[running prepare-commit-msg/02-jira]
Provide your Jira issue number 
 - leave blank if ticket doesn't exist yet 
 - or use '-' to indicate a non-ticket branch 
: PAY-1118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant