Skip to content

[Code] Fix diff api#48199

Merged
spacedragon merged 2 commits intoelastic:masterfrom
spacedragon:fix_diff
Oct 18, 2019
Merged

[Code] Fix diff api#48199
spacedragon merged 2 commits intoelastic:masterfrom
spacedragon:fix_diff

Conversation

@spacedragon
Copy link
Copy Markdown
Contributor

Summary

https://github.com/elastic/code/issues/1684

In native git, passing only one revision as a parameter is mean to compare the current working tree with that commit, this PR adds master~1 as the second parameter by default.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/code (Team:Code)

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@spacedragon
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@spacedragon spacedragon merged commit f79292a into elastic:master Oct 18, 2019
@spacedragon spacedragon deleted the fix_diff branch October 18, 2019 03:31
@WangQianliang WangQianliang mentioned this pull request Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants