FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refresh_references.cc: bust LibGit2 remote list cache by reading config by Mr-Wallet · Pull Request #1685 · nodegit/nodegit · GitHub

refresh_references.cc: bust LibGit2 remote list cache by reading config - #1685

Merged
implausible merged 1 commit into
nodegit:masterfrom
Mr-Wallet:fix/refresh-references-cache
May 31, 2019
Merged

refresh_references.cc: bust LibGit2 remote list cache by reading config#1685
implausible merged 1 commit into
nodegit:masterfrom
Mr-Wallet:fix/refresh-references-cache

Conversation

Copy link
Copy Markdown
Contributor

Also removed calling git_odb_free when git_repository_odb fails.

This is a band-aid over a caching issue where LibGit2 is not checking the disk when listing the remote names. By manually reading the config, it busts whatever cache LibGit2 is holding on to.

Also removed calling `git_odb_free` when `git_repository_odb` fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL