Bug 240899
| Summary: | Amending a commit should update changed files and functions in commit message | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Manuel Rego Casasnovas <rego> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, ddkilzer, jbedard, mattwoodrow, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 239082 | ||
Manuel Rego Casasnovas
Not sure if via git-webkit script or with a different tool, but if you ammend a local commit, I didn't find a way to regenerate the list of modified files that should be included in the commit message.
The only way I found is to "git reset --soft HEAD^" and commit again.
But I believe there should be a simpler way to do that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/94200273>
Matt Woodrow
I've updated the commit hook now, so if you do `git commit --amend` it should show the full list of modified files in the commented out section of the commit editor.