question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to commit textContent directly to tree, without intermediate blobs

See original GitHub issue

https://github.com/kohsuke/github-api/issues/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"}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
siordachecommented, Nov 20, 2019

@bitwiseman I will look into it in the next few days.

0reactions
bitwisemancommented, Nov 27, 2019

Live now in v1.100. Thanks @siordache!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.textContent - Web APIs | MDN
The textContent property of the Node interface represents the text content of the node and its descendants.
Read more >
hast/readme.md at main · syntax-tree/hast - GitHub
hast is a specification for representing HTML (and embedded SVG or MathML) as an abstract syntax tree. It implements the unist spec.
Read more >
HTML Standard
HTML documents consist of a tree of elements and text. ... By contrast, an operation that is to run immediately must interrupt the...
Read more >
HTML5 - W3C
HTML documents consist of a tree of elements and text. Each element is denoted in the source by a start tag, such as...
Read more >
GIT Under The Hood - thisara udayantha
As per figure 3.0, the non-staged file remain without any change. ... Each commit will be pointing to a Tree object and it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found