[Webkit-unassigned] [Bug 245255] New: [git-webkit] prepare-commit-msg does not work with --reedit-message and --reuse-message
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 15 16:36:17 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245255
Bug ID: 245255
Summary: [git-webkit] prepare-commit-msg does not work with
--reedit-message and --reuse-message
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emw at apple.com
These git-commit options allow you to use the commit message from a different commit, and optionally stop for editing. They allow you to "rewrite" a commit by resetting to `main`, staging new changes, then running `git commit --reedit-message "HEAD@{1}"` to make changes to the old commit message.
Our prepare-commit-msg hook completely overwrites the commit message staged by these options, making them unusable. It should preserve the original message, and only list modified files in the comment section below the message body.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220915/af1f45c4/attachment-0001.htm>
More information about the webkit-unassigned
mailing list