[Webkit-unassigned] [Bug 240689] New: prepare-commit-msg adds comments when called with --no-edit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 15:30:41 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240689

            Bug ID: 240689
           Summary: prepare-commit-msg adds comments when called with
                    --no-edit
           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: gsnedders at apple.com

If I run `git commit --amend --no-edit` with a commit whose message is "foo", I end up with:

foo

# Please populate the above commit message. Lines starting
# with '#' will be ignored

# On branch git-editor-colon
# Changes to be committed:
#   (use "git restore --staged <file>..." to unstage)
#       modified:   Tools/Scripts/hooks/prepare-commit-msg
# 
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git restore <file>..." to discard changes in working directory)
#       modified:   Tools/Scripts/hooks/prepare-commit-msg
# 
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#       Source/InternalSettingsGenerated.idl
#

-- 
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/20220519/7ed7cd92/attachment-0001.htm>


More information about the webkit-unassigned mailing list