Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6675efa0b52b2faac4cd523b3e29faf9ed5e00fc
      
https://github.com/WebKit/WebKit/commit/6675efa0b52b2faac4cd523b3e29faf9ed5e00fc
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-09-13 (Sat, 13 Sep 2025)

  Changed paths:
    M Tools/Scripts/hooks/prepare-commit-msg

  Log Message:
  -----------
  git commit --amend does not work when tests_lines exists
https://bugs.webkit.org/show_bug.cgi?id=298813
rdar://160519511

Reviewed by Jonathan Bedard.

After 295625@main, tests_lines for amend message is generated
via [commit_message_parser.tests_lines, '']. But this generates list
of list and it is rejected by '\n'.join(list_of_list). As a result,
precommit-hook fails and `git commit --amend` does not work.
This patch fixes it by changing it to list concatenation.

* Tools/Scripts/hooks/prepare-commit-msg:

Canonical link: https://commits.webkit.org/299929@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to