You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meteorcloudy opened this issue
Aug 22, 2019
· 0 comments
Assignees
Labels
breakageP1I'll work on this now. (Assignee required)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
`diff` generate incomplete header for adding or removing one line file.
Eg.
"""
--- foo
+++ bar
@@ -1 +0,0 @@ # Should be @@ -1,1 +0,0 @@
-hello, world
"""
We set the default value to 1 when the size info is missing.
Similar logic in `git apply` implementation:
https://github.com/git/git/blob/5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9/apply.c#L1400Fixes#9222
RELNOTES: None
PiperOrigin-RevId: 264799477
breakageP1I'll work on this now. (Assignee required)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
Breakages after flipping --incompatible_use_native_patch:
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1154#d51abae7-8a0d-4aa4-9e6d-6bafb05386c7
When doing diff on one liner file, it'll output such diff content:
Note that
@@ -1 +0,0 @@
and@@ -0,0 +1 @@
is not the complete header format.(should be
@@ -1,1 +0,0 @@
and@@ -0,0 +1,1 @@
)The native patch should support such format because it's generated by
diff
orgit diff
The text was updated successfully, but these errors were encountered: