14.2.0 Breaks "pull" action works fine in 14.1.1
Description
I am using GitLens with the SSH plugin. In the "Branches" view I click the "pull" arrow on a branch. It does not refresh and pull, removing the Red text and the indication that it is out of sync
In 14.1.1 it works perfectly.
GitLens Version
14.2
VS Code Version
Latest
Git Version
git version 2.39.3
Logs, Screenshots, Screen Captures, etc
No response
@httpete Question as I investigate: do you have Git: Fetch on Pull enabled/checked in either your user or workspace settings?
I do not. Right out the box.
Thanks for checking @httpete . Would you mind also trying the following:
Add the line: "gitlens.experimental.nativeGit": true to your settings JSON and then after reloading (so that the new setting takes effect), try the pull action again and let me know if it's still broken for you? (You can remove the line after testing if it doesn't resolve the issue for you.)
I'm having the same issue. And 14.1.1 works fine for me as well. @axosoft-ramint I tried to add the provided line on my settings JSON but it didn't work.
@Neuhaus93 are you also using GitLens with the Remote SSH plugin? Wondering if the SSH interaction is relevant to the issue.
@axosoft-ramint Negative, I'm not using it.
Thanks. Just to confirm, which of the following is happening to you when clicking the Pull arrow? I'm assuming it's 2 but want to make sure.
- The pull action is not actually happening (the branch doesn't change in the repo), but the "out of sync" status goes away on the branch as if it pulled successfully
- The pull action is not actually happening, and the "out of sync" status doesn't change in the view
- The pull action is happening, but the branch still shows as "out of sync" in the view
Can you also please enable debug logging by running the GitLens: Enable Debug Logging command from the Command Palette (F1 or ctrl/cmd+shift+p). This will enable logging to the GitLens & GitLens (Git) channels in the Output pane.
Once enabled, please reproduce the issue, and attach the logs from the GitLens and GitLens (Git) channels.
Thank you!
@axosoft-ramint It's case 2. I attached the logs from when I click the button to when it stops loading. I also noticed that it only fails when I'm in a different branch from the one I'm trying to pull. If it's the same, it works.
Thank you for the extra details and I think this should now be fixed.
Can you please verify this fix in tomorrow's (v2023.8.10xx) pre-release edition of GitLens? Thank you so much!
You can switch to the pre-release edition of GitLens, by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

@eamodio I just tried it with the pre-release version and can confirm it works. Thanks for the quick fix.
I can report 14.2.1 works perfectly. THANKS!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.