Skip to content

Fetch branch prior to checking if its behind remote#1371

Merged
RMacfarlane merged 3 commits intomasterfrom
jackson/fetch-before-switch
Oct 10, 2019
Merged

Fetch branch prior to checking if its behind remote#1371
RMacfarlane merged 3 commits intomasterfrom
jackson/fetch-before-switch

Conversation

@JacksonKearl
Copy link
Contributor

Previously we called getBranch without having prior fetch'd for any new commits, causing us to read stale data.

Fixes #1368.

@JacksonKearl JacksonKearl self-assigned this Oct 10, 2019
@JacksonKearl
Copy link
Contributor Author

@RMacfarlane do you know what this "Failed to get the latest version of package RichCodeNav.ClientTool." issue is?

@RMacfarlane
Copy link
Contributor

@JacksonKearl We have an extra build step that tries to index the current state of the repo to allow language features like go-to-definition to work for files that aren't on disk, but it's sometimes flakey. I'm considering just removing it. It can safely be ignored

Copy link
Contributor

@RMacfarlane RMacfarlane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me! Sorry for pushing erroneous commits here :)

@RMacfarlane RMacfarlane merged commit 6f5b605 into master Oct 10, 2019
@RMacfarlane RMacfarlane deleted the jackson/fetch-before-switch branch October 10, 2019 18:42
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.

Pull request isn't brought up to date when checked out again

2 participants