<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>38393</bug_id>
          
          <creation_ts>2010-04-30 10:44:42 -0700</creation_ts>
          <short_desc>specifying both --git-commit and --squash should throw an error</short_desc>
          <delta_ts>2010-05-24 15:34:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cjerdonek</cc>
    
    <cc>eric</cc>
    
    <cc>jamesr</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219526</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-04-30 10:44:42 -0700</bug_when>
    <thetext>--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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219554</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-04-30 11:51:04 -0700</bug_when>
    <thetext>Is this for webkit-patch or check-webkit-style?  IIRC, check-webkit-style also has these two options.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219561</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-04-30 12:02:49 -0700</bug_when>
    <thetext>Both</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229950</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-05-24 15:34:20 -0700</bug_when>
    <thetext>We&apos;ve decided to replace --squash with --git-commit=*.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>