You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
history UI out of sync with repository after pulling with merge #2737
@1nfinite9 this has kind of fallen down the list because the repro requires a bunch of setup. The only additional things I can think of is screenshots the different history views show them being different, but that's minor.
There's definitely something up in here, but I'm not sure it's the original issue as reported.
Commit A on local repository on Mac and push to remote (shared bare repository not on Github)
Commit B on local repository on Windows before pulling A from remote
I wasn't able to reproduce this scenario as-is because - if you're also working from a bare repository on the Windows side - this should end up in a known limitation of Git when you pull at this point:
This happens when you create two distinct "initial" commits in a Git repository and try to merge them. We're tracking this in #1484 which has some extra details.
With that in mind, I went down a slightly different path to try and recreate the issue with not showing all commits.
Here's the steps I went through (this is on 1.0.10):
blank repository on GitHub
commit and push from macOS
clone on Windows (so they both have first commit)
create another commit on macOS and push
create a commit on Windows
fetch so that you see both a local and remote commit
changed the title [-]Remote commits not shown on Windows initially[/-][+]history out of sync with repository after pulling with merge[/+]on Dec 8, 2017
changed the title [-]history out of sync with repository after pulling with merge[/-][+]history UI out of sync with repository after pulling with merge[/+]on Dec 8, 2017
Activity
joshaber commentedon Sep 15, 2017
Thanks @1nfinite9!
When you pull on Windows, are you on the Changes or History tab? If you switch to a different repository and back, does it show the commits?
1nfinite9 commentedon Sep 19, 2017
Thanks for your reply, @joshaber.
I tried pulling on both the Changes and History tab but same result.
Also got same results even after changing to different repository.
stale commentedon Oct 30, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
1nfinite9 commentedon Oct 30, 2017
Still happens on version 1.0.6.
What else can I provide that will help with reproduction?
Could it be because a merge is happening when I pull on Windows?
shiftkey commentedon Oct 30, 2017
@1nfinite9 this has kind of fallen down the list because the repro requires a bunch of setup. The only additional things I can think of is screenshots the different history views show them being different, but that's minor.
stale commentedon Nov 13, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
2 remaining items
shiftkey commentedon Dec 8, 2017
There's definitely something up in here, but I'm not sure it's the original issue as reported.
I wasn't able to reproduce this scenario as-is because - if you're also working from a bare repository on the Windows side - this should end up in a known limitation of Git when you pull at this point:
This happens when you create two distinct "initial" commits in a Git repository and try to merge them. We're tracking this in #1484 which has some extra details.
With that in mind, I went down a slightly different path to try and recreate the issue with not showing all commits.
Here's the steps I went through (this is on
1.0.10):So here's what we have:
And using
git lgto look at the log visually:And here's the History view for Windows:
But on macOS we're actually missing one commit (the second one, which was created on macOS):
And this comes good after restarting the app, which is what @1nfinite9 also saw:
Not quite sure where this is lurking, but at least I've now seen it with my own eyes.
[-]Remote commits not shown on Windows initially[/-][+]history out of sync with repository after pulling with merge[/+][-]history out of sync with repository after pulling with merge[/-][+]history UI out of sync with repository after pulling with merge[/+]mungojam commentedon Jun 5, 2018
@shiftkey
Getting this still in latest version (1.2.2) on windows:
The two commits that my colleague made show up in
git logbut not in GitHub desktop. His later changes do show up.mungojam commentedon Jun 5, 2018
Now discovered #3704 which covers my issue and describes how it can be worked around by restarting GitHub Desktop