Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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