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

Search for string returns merge commits (unlike raw `git log -S`) #454

Closed
borekb opened this Issue Jul 20, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@borekb

borekb commented Jul 20, 2018

  • GitLens Version: 8.5.2
  • VSCode Version: 1.25.1
  • OS Version: Windows 10
  • Git version: 2.18

I've tried on a couple of repositories and it seems that GitLens returns also merge commits when I search for a string using the = syntax. For example, you can try checking out https://github.com/versionpress/versionpress and comparing:

Plain Git:

$ git log -S BulkChangeInfo --oneline | wc -l
11

GitLens after searching for =BulkChangeInfo:

image

The difference is in merge commits:

image

@eamodio eamodio self-assigned this Jul 21, 2018

@eamodio eamodio added the bug label Jul 21, 2018

@eamodio eamodio added this to the Soon™ milestone Jul 21, 2018

@eamodio eamodio closed this in 89523f7 Jul 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment