Skip to content

Ability to commit textContent directly to tree, without intermediate blobs #504

@blacelle

Description

@blacelle

#360 introduces a way to commit multiple files in a single commit. The library API suggests it is possible to build a tree from text content without creating blob manually with org.kohsuke.github.GHTreeBuilder.textEntry(String, String, boolean).

However, this fails with:

{"message":"Must supply tree.sha or tree.content","documentation_url":"https://developer.github.com/v3/git/trees/#create-a-tree"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions