| Summary: | [git-webkit] ERROR: Unexpected diff format when parsing a chunk: '2.36.0' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | Tools / Tests | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | Hironori.Fujii, jbedard, kbr, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=274817 | ||
|
Description
Michael Catanzaro
2022-05-17 05:25:20 PDT
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. git format-patch outputs a mbox format of a patch.
For example, my patch (attachment#459775 [details]) has my git version "2.25.1" in the last line.
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: '2.25.1' Total errors found: 0 in 1 files Pull request: https://github.com/webkit/webkit/pull/1445 Committed r295471 (251476@main): <https://commits.webkit.org/251476@main> Reviewed commits have been landed. Closing PR #1445 and removing active labels. |