Skip to content
This repository was archived by the owner on Sep 7, 2025. It is now read-only.
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

Rebase causes aggressive hooking #29

@drytdubs

Description

@drytdubs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions