cmarcusreid / git-status-cache

High performance cache for git repository status. Clients can retrieve information via named pipe.
MIT License
16 stars 4 forks source link

Report UpstreamGone. #20

Closed cmarcusreid closed 7 years ago

cmarcusreid commented 7 years ago

Report UpstreamGone. Resolves #19.

UpstreamGone is set when a branch has no remote tracking reference but still has an upstream configured. This is similar to the git warning:

Your branch is based on 'origin/master', but the upstream is gone. (use "git branch --unset-upstream" to fixup)

cmarcusreid commented 7 years ago

Reading side for posh-git is https://github.com/cmarcusreid/posh-git/commit/4fa6c8c74a8c90a7777bb217aec5f370aca0ee89. I'll submit a PR there once this is merged and the new executable is published.

DoCode commented 7 years ago

@cmarcusreid, can you please update libgit to the latest release?

cmarcusreid commented 7 years ago

@DoCode I've previously had some functionality issues when upgrading libgit2, so I'd like to do that separately from this change. If you could share additional details in how to setup for your scenario in #18 that'd make it easier to validate the LFS bits. Of course, please also feel free to submit a PR if you want to make the change.