Skip to content

bump the limit for git status to 20MB of raw output - #5011

Closed
shiftkey wants to merge 1 commit into
masterfrom
make-status-run-longer
Closed

shiftkey wants to merge 1 commit into
masterfrom
make-status-run-longer

Conversation

@shiftkey

Copy link
Copy Markdown
Member

Addresses a known bottleneck from Git output as reported in #2449

This bottleneck seems to come up when you have a lot of untracked files (thousands) so it'd be nice to pause here and think about whether there's a better solution to bumping up this constraint.

@j-f1

j-f1 commented Jun 23, 2018 •

Copy link
Copy Markdown
Contributor

Is there a way to get this output as a stream instead? You could then append each received chunk to an internal buffer and pull file information out of the beginning of that buffer once you have all the info you need for the file. This would also make the UI more responsive since you’d start seeing files immediately.

@shiftkey

Copy link
Copy Markdown
Member Author

@j-f1 I might have a branch lying around of porting this to a streaming API to see if it gives us any streaming gains. Might be worth revisiting that.

@shiftkey

Copy link
Copy Markdown
Member Author

Closing in favour of #5053

@shiftkey shiftkey closed this Jun 27, 2018
@shiftkey
shiftkey deleted the make-status-run-longer branch June 27, 2018 19:59
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 26, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
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.

2 participants