Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add --limit=1 when determining branch copy source #1571

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

bytehow
Copy link
Contributor

@bytehow bytehow commented Apr 18, 2022

When determining if a branch is a copy, the entire log is fetched, but only the first commit is checked. This is problematic if the branch is not a copy, and the commit log is massive. A large enough log will currently crash VS Code.

This fix limits pulling only the first log. Fixes #1539

@bytehow bytehow changed the title Add --limit=1 when determining branch copy source crash fix: add --limit=1 when determining branch copy source Apr 18, 2022
@JohnstonCode JohnstonCode changed the title crash fix: add --limit=1 when determining branch copy source fix: add --limit=1 when determining branch copy source Apr 19, 2022
@JohnstonCode JohnstonCode merged commit 1c0c3ef into JohnstonCode:master Apr 19, 2022
JohnstonCode added a commit that referenced this pull request Apr 19, 2022
## [2.15.4](v2.15.3...v2.15.4) (2022-04-19)

### Bug Fixes

* Add --limit=1 when determining branch copy source ([#1571](#1571)) ([593dfe5](593dfe5))
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.

VSCode crashes with trunk branch
2 participants