FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove DiffList by igncp · Pull Request #1733 · nodegit/nodegit · GitHub

Remove DiffList - #1733

Merged
tbranyen merged 1 commit into
nodegit:masterfrom
igncp:update-difflist-to-diff
Jan 19, 2020
Merged

Remove DiffList#1733
tbranyen merged 1 commit into
nodegit:masterfrom
igncp:update-difflist-to-diff

Conversation

igncp commented Oct 6, 2019

Copy link
Copy Markdown
Contributor

The DiffList is a legacy name for a type that doesn't currently exist. In cases where several diffs are returned, Array<Diff> is documented.

However, Tree#diff and Tree#diffWithOptions return a single {Diff}, which is incorrect in the docs:

This PR removes DiffList from the repo to avoid confusion and updates to the correct type. Please see this previous issue for more context: #1359

Thanks for the library 👍

Copy link
Copy Markdown
Member

Thanks, looks good!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL