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

Count oldLines and newLines when there are conflicts #188

Merged
merged 5 commits into from
Oct 7, 2017

Conversation

haitaoli
Copy link

@haitaoli haitaoli commented Aug 12, 2017

Summary

Try to count oldLines and newLines when the hunk contains conflicts. If the patches have the same base file then oldLines should be valid. If base files are different then oldLines is deleted. newLines isn't very useful but I'm keeping the logic symmetric.

@haitaoli haitaoli closed this Aug 13, 2017
@haitaoli haitaoli reopened this Aug 13, 2017
.gitignore Outdated
npm-debug.log
Copy link
Owner

Choose a reason for hiding this comment

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

These files are left out of the library by design to avoid the maintenance concerns they bring. Glad to take a look at a PR with just functional changes.

@haitaoli
Copy link
Author

Reverted .gitignore

@kpdecker
Copy link
Owner

Can you remove the dist and lib files as well?

@haitaoli
Copy link
Author

Removed

@kpdecker kpdecker merged commit d01e8cc into kpdecker:master Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants