[Webkit-unassigned] [Bug 26664] New: Add a flag to prepare-ChangeLog to only check the git index

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 23 15:35:31 PDT 2009


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

           Summary: Add a flag to prepare-ChangeLog to only check the git
                    index
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joe.mason at torchmobile.com
                CC: treat at kde.org


By default, prepare-ChangeLog has two modes when used with git: by default it
looks at all changes in both the index and the working tree, and with the
--git-commit switch it looks at all changes in a specific commit.

When preparing a new commit, the most useful thing to do is to look only at the
changes in the index so that the ChangeLog entry exactly matches what's about
to be checked in.  Changes that are in the working tree but not the index
aren't part of this commit so they shouldn't usually go in the ChangeLog.

Workflow with this switch would be:

    Make code changes
    git add (list of affected files)
    prepare-ChangeLog --git-index
    edit ChangeLog entries
    git add (ChangeLog file)
    git commit -t /path/to/ChangeLog (and remove all entries but the first from
the commit message)

(This should be added as a flag to avoid confusing people who are already used
to the old behaviour.)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list