This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[git] Allow pre-commit hook to feed from staged ChangeLogs
https://bugs.webkit.org/show_bug.cgi?id=239419 Patch by Philippe Normand <firstname.lastname@example.org> on 2022-04-25 Reviewed by Jonathan Bedard. In workflows where prepare-ChangeLog is executed manually before staging and committing changes the prepare-commit-msg hook can now read the curated ChangeLog from the git stage and present it in the editor for validation. In case no ChangeLog was staged, the hook will generate a message itself. * Scripts/hooks/prepare-commit-msg: Canonical link: https://commits.webkit.org/249941@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 42 additions and 0 deletions.