Skip to contentSkip to conversation

Why is there no execution of the pre-commit hook while rebasing?

DISCUSSION Matthias Beyer 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I'm wondering why there is no execution of the pre-commit hook when rebasing.

When I do a rebase of N commits (say, 3 or so) onto another branch, each of the rebased commits gets "recommitted" to the branch, am I right?

If yes, wouldn't it make sense to run the pre-commit hook after each applied commit?

Just wondering...

Signature · 6 lines
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.