<?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>240516</bug_id>
          
          <creation_ts>2022-05-17 05:25:20 -0700</creation_ts>
          <short_desc>[git-webkit] ERROR: Unexpected diff format when parsing a chunk: &apos;2.36.0&apos;</short_desc>
          <delta_ts>2024-05-28 21:23:55 -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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=274817</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>fujii</cc>
    
    <cc>jbedard</cc>
    
    <cc>kbr</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1869646</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-17 05:25:20 -0700</bug_when>
    <thetext>When running &apos;git-webkit pr&apos; I see it print ERROR: Unexpected diff format when parsing a chunk: &apos;2.36.0&apos;. Not sure what&apos;s going on here.

$ git-webkit pr
&apos;main&apos; is not a pull request branch, enter issue URL or title of new issue: https://bugs.webkit.org/show_bug.cgi?id=240515
Switched to a new branch &apos;eng/GTK-Build-MiniBrowser-by-default&apos;
Created the local development branch &apos;eng/GTK-Build-MiniBrowser-by-default&apos;
branch &apos;main&apos; set up to track &apos;origin/main&apos;.
  Running status to find changed, added, or removed files.
  Reviewing diff to determine which lines changed.
  Extracting affected function names from source files.
  Change author: Michael Catanzaro &lt;mcatanzaro@redhat.com&gt;.
[eng/GTK-Build-MiniBrowser-by-default 21073145f0b4] [GTK] Build MiniBrowser by default https://bugs.webkit.org/show_bug.cgi?id=240515
 Date: Tue May 17 07:22:35 2022 -0500
 2 files changed, 10 insertions(+), 2 deletions(-)
remote: Enumerating objects: 353, done.
remote: Counting objects: 100% (353/353), done.
remote: Compressing objects: 100% (197/197), done.
remote: Total 353 (delta 158), reused 328 (delta 148), pack-reused 0
Receiving objects: 100% (353/353), 2.09 MiB | 13.36 MiB/s, done.
Resolving deltas: 100% (158/158), completed with 45 local objects.
From github.com:WebKit/WebKit
   648ca05a2c90..1d5e3b70369b  main       -&gt; main
   648ca05a2c90..1d5e3b70369b  main       -&gt; origin/main
From github.com:WebKit/WebKit
 * branch                      main       -&gt; FETCH_HEAD
Successfully rebased and updated refs/heads/eng/GTK-Build-MiniBrowser-by-default.
Rewrite 1b0820bef8f714bb6574ab1eeb3cafd38ef50d5a (1/1) (0 seconds passed, remaining 0 predicted)    
WARNING: Ref &apos;refs/remotes/origin/main&apos; is unchanged
Ref &apos;refs/heads/eng/GTK-Build-MiniBrowser-by-default&apos; was rewritten
ERROR: Unexpected diff format when parsing a chunk: &apos;2.36.0&apos;
Total errors found: 0 in 2 files
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 32 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 712 bytes | 712.00 KiB/s, done.
Total 6 (delta 5), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (5/5), completed with 5 local objects.
remote: 
remote: Create a pull request for &apos;eng/GTK-Build-MiniBrowser-by-default&apos; on GitHub by visiting:
remote:      https://github.com/mcatanzaro/WebKit/pull/new/eng/GTK-Build-MiniBrowser-by-default
remote: 
To github.com:mcatanzaro/WebKit.git
 * [new branch]                eng/GTK-Build-MiniBrowser-by-default -&gt; eng/GTK-Build-MiniBrowser-by-default
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:mcatanzaro/WebKit.git
   648ca05a2c90..1d5e3b70369b  main -&gt; main
Created &apos;PR 671 | [GTK] Build MiniBrowser by default&apos;!
Assigning associated issue to Michael Catanzaro &lt;mcatanzaro@gnome.org&gt;
Posted pull request link to https://bugs.webkit.org/show_bug.cgi?id=240515
https://github.com/WebKit/WebKit/pull/671</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871467</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-24 05:26:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/93825248&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871957</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2022-05-25 23:14:27 -0700</bug_when>
    <thetext>Something similar happened to me on macOS when a different version of git was on my $PATH than the one which ships with Xcode. Perhaps the script is overly strict.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871959</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-25 23:22:08 -0700</bug_when>
    <thetext>git format-patch outputs a mbox format of a patch.
For example, my patch (attachment#459775) has my git version &quot;2.25.1&quot; in the last line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871964</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-05-25 23:41:51 -0700</bug_when>
    <thetext>If I have a local commit, check-style-local reports the error message.

$ ./Tools/Scripts/webkit-patch check-style-local
ERROR: Unexpected diff format when parsing a chunk: &apos;2.25.1&apos;
Total errors found: 0 in 1 files</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875225</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2022-06-10 06:12:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/webkit/webkit/pull/1445</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875356</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-10 19:45:34 -0700</bug_when>
    <thetext>Committed r295471 (251476@main): &lt;https://commits.webkit.org/251476@main&gt;

Reviewed commits have been landed. Closing PR #1445 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>