Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git combined diffs suffer from underflow #53

Closed
wants to merge 1 commit into from

Conversation

edvbld
Copy link
Member

@edvbld edvbld commented Aug 16, 2019

Hi all,

seems like git diff -c --unified=0 also suffers from underflow, but not the off-by-one bug for empty hunks that git diff --unified=0 suffers from. I updated the code to work around this issue.

Testing

  • sh gradlew test passes on Linux x86_64

Progress

  • Change must not contain extraneous whitespace
  • Change must be properly reviewed

Approvers

@openjdk openjdk bot added the rfr label Aug 16, 2019
@bridgekeeper
Copy link

bridgekeeper bot commented Aug 16, 2019

👋 Welcome back ehelin! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request (refresh this page to view it).

@mlbridge
Copy link

mlbridge bot commented Aug 16, 2019

Webrevs

Copy link
Member

@rwestberg rwestberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff

@openjdk openjdk bot removed the rfr label Aug 16, 2019
@openjdk
Copy link

openjdk bot commented Aug 16, 2019

@edvbld This change can now be integrated. The commit message will be:

git combined diffs suffer from underflow

Reviewed-by: rwestberg
  • If you would like to add a summary, use the /summary command.
  • To list additional contributors, use the /contributor command.
  • To integrate this PR with the above commit message, type /integrate in a new comment.

@openjdk openjdk bot added the ready label Aug 16, 2019
@edvbld
Copy link
Member Author

edvbld commented Aug 16, 2019

/integrate

@openjdk
Copy link

openjdk bot commented Aug 16, 2019

@edvbld Pushed as commit ef42f82.

@openjdk openjdk bot closed this Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants