Replies: 1 comment
-
|
Yes, reading a large amount of from git will cause the OS the return the results in multiple chunks. We don't reassemble the output until it is actually used or parsed. What the This results in a stream of You can see examples of this pattern by searching for code matching messages on |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Thanks for your work. I have been enjoying a lot the editor and I would like to contribute somehow. I have seen the issue #458 and have been having a look at possibilities to get the git blame of a file and then display the information.
Displaying and interacting with git is really easy, but I am having some trouble with the communication with thespian. I have tested to send the git blame of a file and just one line, and everything seems to work fine, but if I try to send the whole git blame of the file, I received multiple messages.
Here part of the code I am adding to the git module to enable the blame feature:
I have looked into thespian and it seems like it splits big messages. But this "multi-part" message decoding does not seem to be yet fully supported in the editor, for example in the
project_manager.zig.Am I missing something here? Navigating such big codebases is sometimes a bit tricky and I might be overseeing some trivial aspect.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions