Bug 38393

Summary: specifying both --git-commit and --squash should throw an error
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: cjerdonek, eric, jamesr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Ojan Vafai 2010-04-30 10:44:42 PDT
--git-commit will squash all the commits in the commit range into one. --squash grabs the full diff from trunk. The two are currently mutually exclusive.

You could also imagine a world in which git-commit was more like dcommit (treats each commit in the range as a separate patch). If we did that, then it would make sense to allow both. In other words, ideally, --git-commit would only treat the commit range as a single patch if you also specified --squash.

But, since the code currently squashes, I think we should throw an error for now if you specify both and add a FIXME for the git-commit behavior.
Comment 1 Chris Jerdonek 2010-04-30 11:51:04 PDT
Is this for webkit-patch or check-webkit-style?  IIRC, check-webkit-style also has these two options.
Comment 2 Ojan Vafai 2010-04-30 12:02:49 PDT
Both
Comment 3 Ojan Vafai 2010-05-24 15:34:20 PDT
We've decided to replace --squash with --git-commit=*.