threads / discuss / 35862

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

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

## tl;dr

One message between Feb 13, 2014 and Feb 13, 2014.

replies: 0people: 1as markdown or json

Matthias Beyer· Feb 13, 2014, 18:15 UTC · lore
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...
-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.

← back to recent threads