-
Notifications
You must be signed in to change notification settings - Fork 762
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
partial parse of git log #3166
Comments
With the log command that I have noticed too what you're seeing, and I tinkered around with modifying
|
I have edited my original post to show identation. Sorry for my mistake. For merges, identation is as you described. For this particular merged file, I ran git log with -m option.
|
|
I refreshed my memory, and I had tested much more than I remembered. I originally noticed the problem of missing history on the FreeBSD repository. After investigation I learned in that repository there were instances of so-called "octopus merges" with more than two heads.
My branch containing that work was really trying to massively speed up history, since FreeBSD history takes f-o-r-e-v-e-r to manage by OpenGrok since OpenGrok's data model copies commit contents (dates + commit message) to every affected file separately — and FreeBSD commits and merges very often touch thousands of files. The branch is still a work-in-progress and idle for a year, but maybe I can extract the octopus handling from it, which would solve your issue too. |
Also: - Add FileHistoryCacheOctopusTest showing dupes for merges (before revising for this patch) - Update parsing of Git revision with labels - Fix oracle#3166 "partial parse of git log"
The original problem with merge commits in Git is tracked by #1167. |
Ah yes, I remember I was looking into this already! |
Below you can see the commits on specific file in my git log output. After indexing, I only see history to February 22nd. March 14th and February 23rd commits are omitted.
This project has commit beyond March 14th like August 17th on other files and those histories are shown for those files.
Also when i look for git diff for that file between these commits, there are changes to file. Opengrok does not show the latest version as source also.
I was using opengrok-1.1-rc16. Because of this issue i give a try to opengrok-1.3.16 and rebuild whole index from zero. Problem still persists.
output of 'git log --abbrev-commit --abbrev=8 --name-only --prety=fuller --date=iso8601-strict -- somepath/actualfile.java'
The text was updated successfully, but these errors were encountered: