Skip to content

fix and unit tests for issue #504#620

Merged
bitwiseman merged 2 commits into
hub4j:masterfrom
siordache-forks:issue#504
Nov 21, 2019
Merged

fix and unit tests for issue #504#620
bitwiseman merged 2 commits into
hub4j:masterfrom
siordache-forks:issue#504

Conversation

@siordache

Copy link
Copy Markdown
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

vinz243 commented May 18, 2022

Copy link
Copy Markdown

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