Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some branches fail to show history #257

Closed
Borkes opened this issue Jan 23, 2018 · 4 comments
Closed

Some branches fail to show history #257

Borkes opened this issue Jan 23, 2018 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Borkes
Copy link

Borkes commented Jan 23, 2018

  • GitLens Version: v7.5.6
  • VSCode Version: 1.19.2 (1.19.2)
  • OS Version: macOs 10.13.2 (17C88)
    image
    I can see git log in these branches with sourceTree.

I don't know how to reproduce, it occurs suddenly after my colleague merge hotfix/xx (sourceTree offer) branch and submit,but his git log is alright. And after update GitLens to v7.5.6, the result is same as me, so I believe the bug belongs to v7.5.6

@eamodio eamodio added the needs-more-info Needs further information, steps, details, etc. label Jan 24, 2018
@eamodio
Copy link
Member

eamodio commented Jan 24, 2018

Is this possibly a public repository? I can't reproduce the issue (so far), can you provide more details? Can you turn on logging and attach the logs after reproducing the issue? You can enable output channel logging by setting "gitlens.outputLevel": "verbose" in your settings.json. This will enable logging to the GitLens channel in the Output pane. Once enabled, please attempt to reproduce the issue (if possible) and attach the relevant log lines from the GitLens channel.

@Borkes
Copy link
Author

Borkes commented Jan 25, 2018

open master branch logs:

checkout:

RepositoryNode.onRepoChanged(repository); triggering node refresh
GitExplorer[view=repository].refreshNode
isTracked('/Users/borkes/workSpace/poker/app.js', '/Users/borkes/workSpace/poker', 'undefined')
Running(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false ls-files /Users/borkes/workSpace/poker/app.js
Completed(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false ls-files /Users/borkes/workSpace/poker/app.js in 12 ms
getBranch('/Users/borkes/workSpace/poker')
Running(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false rev-parse --abbrev-ref --symbolic-full-name @ @{u}
Completed(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false rev-parse --abbrev-ref --symbolic-full-name @ @{u} in 8 ms
getStatusForRepo('/Users/borkes/workSpace/poker')
Running(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false status --porcelain=v2 --branch -u
Completed(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false status --porcelain=v2 --branch -u in 18 ms
getBranches('/Users/borkes/workSpace/poker')
Running(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false branch -vv -a
Completed(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false branch -vv -a in 26 ms

open branch show logs

getLog('/Users/borkes/workSpace/poker', 'master', undefined, false)
Running(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false log --name-status --full-history -M --format=%x3c%x2ff%x3e%n%x3cr%x3e %H%n%x3ca%x3e %an%n%x3ce%x3e %ae%n%x3cd%x3e %at%n%x3cp%x3e %P%n%x3cs%x3e%n%B%x3c%x2fs%x3e%n%x3cf%x3e -m -n200 master
Completed(/Users/borkes/workSpace/poker): git -c core.quotepath=false -c color.ui=false log --name-status --full-history -M --format=%x3c%x2ff%x3e%n%x3cr%x3e %H%n%x3ca%x3e %an%n%x3ce%x3e %ae%n%x3cd%x3e %at%n%x3cp%x3e %P%n%x3cs%x3e%n%B%x3c%x2fs%x3e%n%x3cf%x3e -m -n200 master in 386 ms

you can download a sourceTree, create a hotfix branch in Repository, merge the hotfix branch and delete it after commit.
And I think it's just one way to reproduce, there is a public repository (please ignore the content), I can't open master branch using GitLen as well.

@eamodio
Copy link
Member

eamodio commented Jan 25, 2018

Thank you so much for the repository that reproduces it. I should be able to get this fixed up soon!

@eamodio eamodio self-assigned this Jan 25, 2018
@eamodio eamodio added bug Something isn't working and removed needs-more-info Needs further information, steps, details, etc. labels Jan 25, 2018
@eamodio eamodio added this to the Soon™ milestone Jan 25, 2018
@eamodio eamodio changed the title [bug] some branches can't show git log Some branches fail to show history Jan 26, 2018
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants