Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8bb663b39cb80442ab1b4ba413cb72c77241b48c
      
https://github.com/WebKit/WebKit/commit/8bb663b39cb80442ab1b4ba413cb72c77241b48c
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py
    M 
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py

  Log Message:
  -----------
  [git-webkit] 'pr --no-bug' does not use the prompted title in the commit 
message
https://bugs.webkit.org/show_bug.cgi?id=323221

Reviewed by Patrick Griffis.

With --no-bug the text entered at the prompt only ever became the branch
name. args._title is assigned from a resolved issue, and the path that
would otherwise consume the raw input creates an issue, which --no-bug
disables. COMMIT_MESSAGE_TITLE was left unset, so the commit message kept
the placeholder short description that prepare-commit-msg falls back to.

Keep the input as the commit title when no issue is involved, reusing the
existing heuristic that a string containing a space is a title rather than
a branch name. The title is written to branch.<branch>.title, so amends and
the pull request title pick it up too.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py:
(Branch.ensure_issue):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to