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

fix and unit tests for issue #504 #620

Merged
merged 2 commits into from
Nov 21, 2019
Merged

Conversation

siordache
Copy link
Contributor

It seems that GitHub no longer accepts the 'content' parameter in tree entries, so I deprecated the textEntry() method (and also entry() and shaEntry()). Now, the preferred way to add content to the tree is to use the new methods add(String path, String content, boolean executable) and add(String path, byte[] content, boolean executable).

Unit tests are available in: GHTreeBuilderTest.java.

@vinz243
Copy link

vinz243 commented May 18, 2022

Hello I know this is late but why did you remove shaEntry ? How would I go about linking other trees in my tree

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.

3 participants